Imaging system for facilitating the unloading of agricultural material from a vehicle

ABSTRACT

A spout is operably connected to a transferring material for transferring the agricultural material to the receiving vehicle. An imaging device faces towards the storage portion of the receiving vehicle and collects image data. A container module is adapted to determine a container position of the storage portion, or its container perimeter. A spout module is adapted to identify a spout of the transferring vehicle in the collected image data, or to determine a spout position. An alignment module is adapted to determine the relative position of the spout and the container position based on the collected image data and to generate command data or user interface data to facilitate placement of the spout and storage container in relative cooperative alignment for transferring of material from the transferring vehicle to the receiving vehicle.

RELATED APPLICATION

This is a division of application Ser. No. 15/725,943, filed, Oct. 5,2017, which is a division of application Ser. No. 13/763,288, filed,Feb. 8, 2013, which claims the benefit of U.S. Provisional ApplicationSer. No. 61/597,380, filed Feb. 10, 2012.

JOINT RESEARCH AGREEMENT

This application resulted from work performed under or related to ajoint research agreement between Carnegie Mellon University and Deere &Company, entitled “Development Agreement between Deere & Company andCarnegie Mellon University,” dated Jan. 1, 2008 and as such is entitledto the benefits available under 35 U.S.C. § 103(c).

FIELD OF THE INVENTION

This invention relates to a method and stereo vision system forfacilitating the unloading or transferring of agricultural material froma vehicle.

BACKGROUND

Certain prior art systems may attempt to use global positioning system(GPS) receivers to maintain proper spacing between two vehicles duringthe unloading or transferring of agricultural material between thevehicles. However, such prior art systems are susceptible tomisalignment of the proper spacing because of errors or discontinuitiesin the estimated position of the GPS receivers. For example, one or moreof the GPS receivers may misestimate its position because ofelectromagnetic interference, multipath propagation of the receivedsatellite signals, intermittent reception of the satellite signals orlow received signal strength of the satellite signals, among otherthings. If the vehicles use cameras or other imaging devices in anoutdoor work area, such as an agricultural field, the imaging devicesmay be subject to transitory sunlight, shading, dust, reflections orother lighting conditions that can temporarily disrupt proper operationof the imaging devices; hence, potentially produce errors in estimatedranges to objects observed by the imaging devices. Thus, there is a needfor an improved system for managing the unloading of agriculturalmaterial from a vehicle to compensate for or address error in theestimated positions or alignment of the vehicles.

SUMMARY OF THE INVENTION

The imaging system facilitates the transfer of agricultural materialfrom a transferring vehicle (e.g., harvesting vehicle) to a receivingvehicle (e.g., grain cart). The system comprises a receiving vehicle,which has a propelled portion for propelling the receiving vehicle and astorage portion for storing agricultural material. A spout is operablyconnected to a transferring vehicle for transferring the agriculturalmaterial to the receiving vehicle. An imaging device faces towards thestorage portion of the receiving vehicle and collects image data of thespout. A container module is adapted to determine a container positionof the storage portion, or its container perimeter. A spout module isadapted to determine a spout position of the spout. An alignment moduleis adapted to determine the relative position of the spout and thecontainer position based on the collected image data and to generatecommand data (e.g., to steer the propelled portion) or user interfacedata to facilitate placement of the spout and storage portion inrelative cooperative alignment for transferring of material from thetransferring vehicle to the receiving vehicle.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of one embodiment of a machinevision-augmented guidance system for a transferring vehicle forfacilitating the unloading or transferring of agricultural material fromthe transferring vehicle (e.g., combine).

FIG. 2 is a block diagram of another embodiment of a machinevision-augmented guidance for a transferring vehicle for facilitatingthe unloading or transferring of agricultural material from thetransferring vehicle (e.g., a self-propelled forage harvester).

FIG. 3A is a block diagram of an embodiment of a machinevision-augmented guidance system for a receiving vehicle forfacilitating the unloading or transferring of agricultural material froma transferring vehicle to the receiving vehicle (e.g., grain cart andtractor).

FIG. 3B is a block diagram of an embodiment of an electronic or guidancesystem for a receiving vehicle for cooperation with the machinevision-augmented guidance system of FIG. 1 or FIG. 2.

FIG. 4A illustrates a plan view of an imaging devices mounted on atransferring vehicle and facing toward a receiving vehicle.

FIG. 4B illustrates a view in a horizontal plane as viewed alongreference line 4B-4B in FIG. 4A.

FIG. 5A illustrates a plan view of an imaging device (e.g., a stereovision system) mounted on a receiving vehicle and facing a storageportion of the receiving vehicle.

FIG. 5B illustrates a view in a horizontal plane as viewed alongreference line 5B-5B in FIG. 5A.

FIG. 5C illustrates a two-dimensional representation of various possibleillustrative distributions of material in the interior of a container orstorage portion, consistent with a cross-sectional view along referenceline 5D-5D in FIG. 5B.

FIG. 5D is a plan view of a transferring vehicle and a receivingvehicle, where the transferring vehicle is aligned within a matrix ofpossible offset positions.

FIG. 6A illustrates a block diagram of one embodiment of a containermodule or a section of an image processing module.

FIG. 6B illustrates a block diagram of another embodiment of a containermodule or a section of an image processing module.

FIG. 6C illustrates a block diagram of another embodiment of a containermodule or a section of an image processing module.

FIG. 7A is a block diagram of one embodiment of a spout module or asection of an image processing module.

FIG. 7B is a block diagram of another embodiment of a spout module or animage processing module.

FIG. 7C is a block diagram of yet another embodiment of a spout moduleor an image processing module.

FIG. 7D is a block diagram of another embodiment of a spout module or animage processing module.

FIG. 8 is a flow chart of an embodiment of a method for operating amachine vision-augmented guidance system for facilitating the unloadingor transferring of agricultural material from a vehicle (e.g., combine).

FIG. 9 is a flow chart of an embodiment of a method for operating amachine vision-augmented guidance system for facilitating the unloadingor transferring of agricultural material from a vehicle (e.g., combine).

FIG. 10 is a flow chart of an embodiment of a method for operating amachine vision-augmented guidance system for facilitating the unloadingor transferring of agricultural material from a vehicle (e.g., combine).

FIG. 11 is a flow chart of an embodiment of a method for operating amachine vision-augmented guidance system for facilitating the unloadingor transferring of agricultural material from a vehicle (e.g., combine).

FIG. 12 is a flow chart of an embodiment of a method for operating amachine vision-augmented guidance system for facilitating the unloadingor transferring of agricultural material from a vehicle (e.g., combine).

FIG. 13 is a flow chart of an embodiment of a method for operating amachine vision-augmented guidance system for facilitating the unloadingor transferring of agricultural material from a vehicle (e.g., combine).

DESCRIPTION OF THE PREFERRED EMBODIMENT

In accordance with one embodiment, FIG. 1 shows a machinevision-augmented guidance system 11 for a transferring vehicle formanaging the unloading of agricultural material (e.g., grain) from thetransferring vehicle (e.g., combine) to a receiving vehicle (e.g., graincart or wagon). A transferring vehicle may have a spout for directingagricultural material toward a storage portion of the receiving vehicle.For example, a stereo imaging system augments satellite navigationreceivers or location-determining receivers (42, 142) for guidance ofone or more vehicles. In one embodiment, the system 11 comprises a firstimaging device 10 and an optional second imaging device 12 coupled to animage processing module 18. The first imaging device 10 may be mountedon the transferring vehicle. The first imaging device 10 may comprise aprimary stereo camera, while the second imaging device 12 may comprise asecondary stereo camera. In one configuration, the second imaging device12 or secondary stereo camera is optional and provides redundancy to thefirst imaging device 10 in case of failure, malfunction orunavailability of image data from the first imaging device 10.

The first imaging device 10 and the second imaging device 12 may providedigital data format output as stereo video image data or a series ofstereo still frame images at regular or periodic intervals, or at othersampling intervals. Each stereo image (e.g., the first image data or thesecond image data) has two component images of the same scene or aportion of the same scene. For example, the first imaging device 10 hasa first field of view of the storage portion of the receiving vehicle,where the first field of view overlaps at least partially with a secondfield of view of the second imaging device 12 (if present). In oneembodiment, the first imaging device 10, the second imaging device 12,or both may comprise a charge-coupled device (CCD), a complementarymetal-oxide semiconductor (CMOS) array, or another suitable device fordetection or collection of image data.

In one configuration, an optical sensor (110, 112) comprises a lightmeter, a photo-sensor, photo-resistor, photo-sensitive device, or acadmium-sulfide cell. A first optical sensor 110 may be associated withthe first imaging device 10; a second optical sensor may be associatedwith the second imaging device 12. The first optical sensor 110 and thesecond optical sensor 112 each may be coupled to the image processingmodule 18. The optical sensor (110, 112) provides a reading or levelindicative of the ambient light in the field of view of its respectiveimaging device (10, 12).

The image processing module 18 may be coupled, directly or indirectly,to optional lights 14 on a vehicle (e.g., transferring vehicle) forillumination of a storage container (e.g., 85 in FIG. 5A) and/or spout(e.g., 89 in FIG. 5A). For example, the image processing module 18 maycontrol drivers, relays or switches, which in turn control theactivation or deactivation of optional lights 14 on the transferringvehicle. The optional lights 14 are shown in dashed lines because thelights 14 are optional and may be deleted in certain alternateembodiments. The image processing module 18 may activate the lights 14on the vehicle for illumination of the storage container (e.g., 85 inFIG. 5A), spout 89 or both if an optical sensor (110, 112) or lightmeter indicates that an ambient light level is below a certain minimumthreshold. In one configuration the optical sensor (110, 112) facetoward the same direction as the lens or aperture of the imaging devices(10, 12).

In one embodiment, an auger rotation system 16 may comprise: (1) arotation angle sensor 116 for sensing a spout rotation angle (α in FIG.5A and β in FIG. 5B) of the spout 89 with respect to one or more axes ofrotation and (2) an actuator 210 for moving the spout 89 to change thespout rotation angle; hence, the spout position with respect to thereceiving vehicle 79 or its storage container 85. The actuator 210 maycomprise a motor, a linear motor, an electro-hydraulic device, aratcheting or cable-actuated mechanical device, or another device formoving the spout 89, or the spout end 87. The spout rotation angle maycomprise a simple angle, a compound angle or multi-dimensional anglesthat is measured with reference to a reference axis parallel to thedirection of travel of the transferring vehicle. In one configuration,one or more of the following communicates with the vehicle controller 46through transmission line or a secondary data bus: a rotation sensor116, a rotation actuator 210, an auger rotation system 16, or an augerdriver 47.

If the actuator 210 comprises an electro-hydraulic device, the use ofproportional control valves in the hydraulic cylinder of theelectro-hydraulic device that rotates the spout (or changes the spoutrotation angle) facilitates finer adjustments to the spout angle (e.g.,a) than otherwise possible. Accordingly, proportional control valves ofthe electro-hydraulic device support or actuator 216 supports an evenprofile or distribution of unloaded agricultural material within thestorage portion 93 or container 85. Many commercially available combinesare typically equipped with non-proportional control valves forcontrolling spout angle or movement of the spout 89; electro-hydraulicdevices with non-proportional control valves can fill the storagecontainer with an inefficient multi-modal or humped distribution (e.g.,508) of agricultural material with local high areas and local low areas,as depicted in FIG. 5C, for example.

A vehicle controller 46 may be coupled to the vehicle data bus 60 toprovide a data message that indicates when the auger drive 47 forunloading agricultural material from the transferring vehicle isactivate and inactive. The auger drive 47 may comprise an auger, anelectric motor for driving the auger, and a rotation sensor for sensingrotation or rotation rate of the auger or its associated shaft. In oneembodiment, the auger (not shown) is associated with a container forstoring agricultural material (e.g., a grain tank) of a transferringvehicle (e.g., a combine). If the vehicle controller 46 (e.g., augercontroller) indicates that the auger of the transferring vehicle isrotating or active, the imaging processing module 18 activates the spoutmodule 22 and container module 20. Thus, the auger rotation system 16,or its associated vehicle controller 46, may conserve data processingresources or energy consumption by placing the container module 20 andthe spout module 22 in an inactive state (or standby mode) while thetransferring vehicle is harvesting, but not unloading, the agriculturalmaterial to the receiving vehicle.

In FIG. 1, the imaging processing module 18 or any other controller maycomprise a controller, a microcomputer, a microprocessor, amicrocontroller, an application specific integrated circuit, aprogrammable logic array, a logic device, an arithmetic logic unit, adigital signal processor, or another data processor and supportingelectronic hardware and software. In one embodiment, the imageprocessing module 18 comprises a container module 20, a spout module 22,an alignment module 24, a material profile module 27, and an arbiter 25.Each module may comprise a software module, an electronic module, orboth, where the software module comprises software instructions forexecuting functions described in this document.

The image processing module 18 may be associated with a data storagedevice 19. The data storage device 19 may comprise electronic memory,non-volatile random access memory, a magnetic disc drive, an opticaldisc drive, a magnetic storage device or an optical storage device, forexample. If the container module 20, the spout module 22 and thealignment module 24, material profile module 27 and arbiter 25, aresoftware modules they can be stored within the data storage device 19.

The container module 20 identifies a set of two-dimensional or threedimensional points (e.g., in Cartesian coordinates or Polar coordinates)in the collected image data or in the real world that define a containerposition or at least a portion of the container perimeter (e.g., 81 inFIG. 5A) of the storage portion (e.g., 85 in FIG. 5A). The set oftwo-dimensional or three dimensional points correspond to pixelpositions in images collected by the first imaging device 10, the secondimaging device 12, or both. The container module 20 may use or retrievecontainer reference data.

The container reference data comprises one or more of the following:reference dimensions (e.g., length, width, height), volume, referenceshape, drawings, models, layout, and configuration of the container 85,the container perimeter 81, the container edges 181; referencedimensions, reference shape, drawings, models, layout, and configurationof the entire storage portion 93 of receiving vehicle; storage portionwheelbase, storage portion turning radius, storage portion hitchconfiguration of the storage portion 93 of the receiving vehicle; anddistance between hitch pivot point and storage portion wheelbase. Thecontainer reference data may be stored and retrieved from the datastorage device 19 (e.g., non-volatile electronic memory). For example,the container reference data may be stored by, retrievable by, orindexed by a corresponding receiving vehicle identifier in the datastorage device 19 of the transferring vehicle system 11. For eachreceiving vehicle identifier, there can be a corresponding uniquecontainer reference data stored therewith in the data storage device 19.

In one embodiment, the transferring vehicle receives a data message fromthe receiving vehicle in which a vehicle identifier of the receivingvehicle is regularly (e.g., periodically transmitted). In anotherembodiment, the transferring vehicle interrogates the receiving vehiclefor its vehicle identifier or establishes a communications channelbetween the transferring vehicle and the receiving vehicle inpreparation for unloading via the wireless communication devices (48,148). In yet another embodiment, the receiving vehicle transmits itsvehicle identifier to the transferring vehicle when the receivingvehicle approaches the transferring vehicle within a certain radialdistance. In still another embodiment, only one known configuration ofreceiving vehicle is used with a corresponding transferring vehicle andthe container reference data is stored or saved in the data storagedevice 19. In the latter embodiment, the transferring vehicle isprogrammed, at least temporarily, solely for receiving vehicles withidentical containers, which are identical in dimensions, capacity,proportion and shape.

In one configuration, the container module 18 identifies the position ofthe controller as follows. If the linear orientation of a set of pixelsin the collected image data conforms to one or more edges 181 of theperimeter (81 in FIG. 5A) of the container (85 in FIG. 5A) as prescribedby the container reference data, the position of the container has beenidentified. A target zone, central region or central zone of thecontainer opening 83 of the container 85 can be identified by dividing(by two) the distance (e.g., shortest distance or surface normaldistance) between opposite sides of the container, or by identifyingcorners of the container and where diagonal lines that intercept thecorners intersect, among other possibilities. In one configuration, thecentral zone may be defined as an opening (e.g., circular, elliptical orrectangular) in the container with an opening surface area that isgreater than or equal to the cross-sectional surface area of the spoutend by a factor of at least two, although other surface areas fallwithin the scope of the claims. In one configuration, the spout module22 identifies one or more of the following: (1) the spout pixels on atleast a portion of the spout 89 (in FIG. 5A), (2) spout end pixels thatare associated with the spout end 87 of the spout 89 (in FIG. 5A), (3)spout pixels associated with a spout position on or for the spout 89 (inFIG. 5A). The spout module 22 may use color discrimination, intensitydiscrimination, or texture discrimination to identify background pixelsfrom one or more selected spout pixels with associated spout pixelpatterns or attributes (e.g., color or color patterns (e.g., Red GreenBlue (RGB) pixel values), pixel intensity patterns, texture patterns,luminosity, brightness, hue, or reflectivity) used on the spout 89 or onthe spout end 87 of the spout 89 for identification purposes.

The alignment module 24, the master/slave controller 59, or bothestimate or determine motion commands at regular intervals to maintainalignment of the spout (56 or 89) over the central zone, central regionor target of the container 85 for unloading agricultural material. Thealignment module 24, the master/slave controller 59, or both, may sendcommands or requests to the transferring vehicle with respect to itsspeed, velocity or heading to maintain alignment of the position of thetransferring vehicle with respect to the receiving vehicle. For example,the alignment module 24 may transmit a request for a change in a spatialoffset between the vehicles to the master/slave controller 59. Inresponse, the master/slave controller 59 or the coordination module 57transmits a steering command or heading command to the steeringcontroller 32, a braking or deceleration command to a braking system 34,and a propulsion, acceleration or torque command to a propulsioncontroller 40 to achieve the target spatial offset or change in spatialoffset. Further, similar command data may be transmitted via thewireless communication devices (48, 148) to the receiving vehicle forobservational purposes or control of the receiving vehicle via itssteering system controller 32, its braking controller 36, and itspropulsion controller 40 of the system 311 of FIG. 3A.

In another configuration, the alignment module 24 or image processingmodule 18 may regularly or periodically move, adjust or rotate thetarget zone or central zone during loading of the container 85 of thereceiving vehicle to promote even filling, a uniform height, or uniformdistribution of the agricultural material in the entire container 85,where the image processing module 18 identifies the fill state of theagricultural material in the image data from the material profile module27 or receives fill state data from distributed fill state sensors 149in FIG. 3A or FIG. 3B (associated with the container 85) via thewireless communication devices (48, 148).

The imaging module 18 may comprise material profile module 27 or a filllevel sensor for detecting a one-dimensional, two-dimensional orthree-dimensional representation of the fill level or volumetricdistribution of the agricultural material in the container 85 or storageportion 93. For example, FIG. 5C shows various illustrativetwo-dimensional representations of the fill state of the container 85,or the distribution of agricultural material in the container 85, whereFIG. 5C will be described later in detail.

In one configuration, the coordination module 57 or the steeringcontroller 32 adjusts the relative position (of offset, such as theoffset components illustrated in FIG. 4A) of the transferring vehicle tothe receiving vehicle. For example, the steering controller 32associated with the steering system 30 of the transferring vehicle cansteer the transferring vehicle in accordance with a cooperativealignment (e.g., that is suitable for efficiently transferring materialfrom the transferring vehicle to the receiving vehicle, while both arein generally forward motion) based on location data and motion data fromfirst location-determining receiver 42 and the secondlocation-determining receiver 142. With or without such location andmotion data from the one or more location-determining receivers (42,142), the alignment module 24, the coordination module 57 and the augerrotation system 16 may control the relative position of the spout 89 orthe spout end 87 to the container perimeter 81 to achieve an even fillto the desired fill level. For example, actuator 210 or the augerrotation system 16, alone or in combination with its vehicle controller46, may adjust the spout angle (e.g., a first spout angle (β) orrotation angle, a second spout angle (β) or tilt angle, or a compoundangle (α and β)) that the spout 89 makes with respect to a referenceaxis or reference coordinate system associated with the transferringvehicle 91 or a generally vertical plane associated with the directionof travel of the transferring vehicle 91, where the spout 89 meets androtates with respect to the vehicle.

The spout end 87 may be adjusted for unloading agricultural material byshifting its spout angle or spout position, within the containerperimeter 81 and a tolerance clearance from the container perimeter 81within the container 85. The spout end 87 may be adjusted by varioustechniques that may be applied alternately, or cumulatively. Under afirst technique, the alignment module 24 adjusts the spout end 87 forunloading agricultural material by shifting its spout angle (e.g., afirst spout angle (α) or rotation angle, a second spout angle (β) ortilt angle, or both.) The rotation actuator (210 or 260), or therotation actuator 260 and the tilt actuator 262 may adjust the rotationangle, the tilt angle, or both with respect to the transferring vehicleto place the spout 89 or spout end 87 in cooperative alignment based onthe collected image data for a sampling period.

Under a second technique, the alignment module 24 requests (or commands)the coordination module 57 to adjust the fore/aft offset adjustment (Φor φ), the lateral adjustment (Δ), or both, where the coordinationmodule 57 manages or choreographs the relative fore/aft offset andlateral offset between the transferring vehicle and receiving vehicle bymoving the transferring vehicle, the receiving vehicle, or both. Under athird technique, the alignment module 24 primarily adjusts the spout end87 for unloading agricultural material by shifting its spout angle andthe coordination module 57 secondarily and regularly (e.g.,periodically) moves the fore/aft offset and the lateral offset byfore/aft offset adjustment (Φ or φ), the lateral adjustment (Δ),respectively, to achieve a uniform fill state or level loading of thecontainer with the agricultural material. Accordingly, the spout end 87may be adjusted regularly (e.g., in a matrix of one or more rows orcolumns of preset offset positions) for unloading agricultural materialby shifting the spatial relationship between the transferring vehicleand the receiving vehicle by a fore and aft offset or a lateral offsetto achieve a target alignment or desired even distribution of fillingthe container 85 or storage portion 93 with agricultural material, whileusing the spout angle adjustment for fine tuning of the distribution ofthe agricultural material within the container (e.g., from each positionwithin the matrix).

In the image processing module 18, the arbiter 25 comprises an imagedata evaluator. For example, the arbiter 25 may comprise an evaluator, ajudging module, Boolean logic circuitry, an electronic module, asoftware module, or software instructions for determining: (1) whetheror not to use the first image data (e.g., from the first imaging device10), the second image data, or both, and/or (2) whether or not to usethe image processing module 18 (or its output data) for alignment of arelative position of the spout and the container perimeter (or alignmentof the spatial offset between the vehicles). In one embodiment thearbiter determines whether or not to use the first image data, thesecond image data, and the output data of the image processing module 18based on evaluation one or more of the following metrics, factors orcriteria during one or more sampling periods: material variation ofintensity of pixel data, material variation in ambient light conditionsduring, image rectification quality, disparity image quality, stereocorrespondence data quality, reliability, extent or degree ofidentification of edges of one or more image objects (e.g., spout, spoutend, container perimeter, storage portion) or image data quality,reliability of coordinate estimation (e.g., three dimensionalcoordinates) of one or more objects in the image. The arbiter 25 maycommunicate one or more quality indicators (e.g., third indicatormessage) to the mode controller 225 (e.g., via a data bus, a logicaldata path, a physical data path, or a virtual data path).

An optional mode controller 225 is coupled to the data bus (e.g., 60).The mode controller 225 is shown in dashed lines to indicate that it isoptional. The mode controller 225 may comprise a perception qualityevaluator, a judging module, Boolean logic circuitry, an electronicmodule, a software module, or software instructions for determiningwhether to operate the machine-vision-augmented guidance system (e.g.,11, 111, or 311) in: (1) an operator-directed manual mode in which oneor more human operators steer the receiving vehicle, the transferringvehicle or both during transfer of agricultural material from thetransferring vehicle to the steering vehicle; (2) an automated mode inwhich the receiving vehicle, the transferring vehicle or both aresteered and aligned automatically during transfer of agriculturalmaterial from the transferring vehicle to the receiving vehicle; or (3)a semi-automated mode or partially automated mode in which one or moreoperators supervise and can override the automated steering andalignment of the transferring vehicle and the receiving vehicle. Forexample, the mode controller 225 may determine whether to use anautomated control mode of the spout or an operator-directed manualcontrol mode of the spout based on a first operational status of a firstlocation-determining receiver 42 associated with the transferringvehicle, a second operational status of a second location-determiningreceiver 142 associated with the receiving vehicle, and a thirdoperational status of the first imaging device 10 or an image processingmodule 18 (e.g., on the transferring vehicle or the receiving vehicle).

In one configuration, the automated control mode comprises anoperational mode where an image processing module 18 processes thecollected image data to facilitate the determination of the relativeposition of the spout 89 (e.g., the spout end 87) and the storageportion 93 (or its container perimeter or a central zone of the storageportion 93). Further, in the automated control mode, the imageprocessing module 18 may generate command data to place the storageportion 93 (or its container perimeter or central zone) and the spout 89(e.g., the spout end 87) such that the spout is aligned for transferringof agricultural material into the storage portion 93. The command datamay comprise one or more of the following: steering command data for thereceiving vehicle, steering command data for the transferring vehicle,or actuator command data for rotating or otherwise manipulating anyactuators (e.g. for rotation, tilt or deflection) of the spout.

In one embodiment, the mode controller 225 comprises a perceptionquality evaluator that evaluates the functionality, diagnostics,performance, tests or quality of one or more location-determiningreceivers (42, 142), imaging devices (10, 12), range finders,odometrical sensor (440), dead-reckoning sensors, inertial sensors(442), navigation sensors, or other perception sensors. In oneillustrative example, the first operational status is acceptable if thefirst location-determining receiver 42 provides reliable position datathat meets or exceeds a dilution of precision threshold or anothernavigation satellite reliability measure during a sampling period; thesecond operational status is acceptable if the secondlocation-determining receiver 142 provides reliable position data thatmeets or exceeds a dilution of precision threshold or another navigationsatellite reliability measure (e.g., total equivalent user range error)during a sampling period. Further, the third operational status isacceptable if the first imaging device 10 provides reliable image datain which the container module 20 or spout module 22 (e.g., or therespective edge detection modules therein) are capable of any of thefollowing: (1) reliably identifying or resolving one or more edges ofspout 89, the spout end 87, the container perimeter 81 or a portionthereof, or the storage portion 93 in the collected image data during asampling time period, (2) reliably identifying on a time percentagebasis (e.g., at least 99.99% of the time) one or more reference objects(e.g., a reference pattern or reference image on the spout or receivingvehicle) or objects in the image data, (3) reliably determining (e.g.,via stereo correspondence or disparity processing) coordinates (e.g., inthree dimensions) of a material portion (e.g., a group or constellationof reference points) on one or more of the following: the spout 89, thespout end 87, the storage portion, container perimeter or a portionthereof during a sampling period, or (4) reliably identifying (e.g., viaan edge detector 105 or other processing) one or more edges of the spoutend 87 and one or more edges of the container perimeter 81 of thestorage portion.

In on configuration in FIG. 1 and FIG. 2, the systems (11 or 111) mayuse a detected rotation angle (of the spout 89) detected by the rotationsensor 116 or 266, respectively, along with a known length of the spout89 to estimate the spout position or the coordinates (e.g., in threedimensions) of the spout end 87. However, where the rotation angle orthe rotation sensor (116 or 266) is not present, operating, or incommunication with the image processing module 18, the spout module (22or 122) may use image processing for any of the following: (1) toestimate a spout angle or rotation angle of the spout with respect tothe transferring vehicle, (2) to estimate a spout position (e.g., threedimensional coordinates) of the spout 89, and (3) to estimate a spoutposition (e.g., three dimensional coordinates) of the spout end 87.

Dilution of precision provides a figure of merit of the performance of alocation-determining receiver (e.g., 42, 142) that uses a satellitenavigation system, such as the Global Positioning System (GPS) or GlobalNavigation Satellite System (GLONASS). Dilution of precision capturesthe time-varying impact of spatial geometry and separation between alocation-determining receiver (42, 142) and satellites signals that arereceived by the location-determining receiver, as opposed to clockerrors, ionospheric errors, multipath errors, and other errors. Theprecision in pseudo-range estimate to each satellite can affect theaccuracy of the determination of a three dimensional position estimateand time estimate of the location-determining receiver (42, 142). Ifreceivable navigation satellites are spatially too close together inorbit for a given location-determining receiver a particular time,accuracy of the position estimate may be compromised and the dilution ofprecision value can be higher than normal or acceptable.

In one embodiment, the first location-determining receiver 42 provides afirst indicator message that indicates that the firstlocation-determining receiver 42 meets or exceeds a precision dilutionthreshold; the second location-determining receiver 142 provides asecond indicator message that indicates that the secondlocation-determining receiving 142 exceeds a precision dilutionthreshold; and the image processing module 18 provides a third indicatormessage that indicates that the image processing module 18 is capable ofreliably identifying one or more edges of the spout end 87 and one ormore edges of the container perimeter 81 of the storage portion 93during a sampling period.

If the mode controller 225 is separate from the image processing module18, any failure or disruption of the functioning of the image processingmodule 18, its hardware or its software is generally separate anddistinct from any failure of disruption of the functioning of the modecontroller 225, which adds a measure of redundancy and reliability tothe system (e.g., 11 or 111). Although the mode controller 225 is shownseparate and outside of the image processing module 18, in an alternateembodiment the mode controller 225 may be incorporated into the imageprocessing module 18, which could potentially reduce the cost of thesystem (e.g., 11 or 111).

A master/slave controller 59 is coupled to the data bus (e.g., 60). Inone embodiment, the master/slave controller 59 comprises anauto-guidance module 55 and coordination module 57. The auto-guidancemodule 55 or master/slave controller 59 can control the transferringvehicle in accordance with location data from the firstlocation-determining receiver 42 and a path plan or desired vehicle path(e.g., stored in data storage 19). The auto-guidance module 55 ormaster/slave controller 59 sends command data to the steering controller32, the braking controller 36 and the propulsion controller 40 tocontrol the path of the transferring vehicle to track automatically apath plan or to track manually steered course of an operator via theuser interface 44 or steering system 30.

The coordination module 57 may facilitate alignment of movement (e.g.,choreography) between the transferring vehicle (e.g., 91 in FIG. 4A) andthe receiving vehicle (e.g., 79 in FIG. 4A) during unloading ortransferring of agricultural material between the vehicles. For example,the coordination module 57 may facilitate maintenance of a uniformlateral offset (A in FIG. 4A) and a uniform fore/aft offset (Φ or φ inFIG. 4A) between the vehicles during unloading of the agriculturalmaterial, subject to any adjustments for attainment of a uniformdistribution of material in the container 85. Collectively, the uniformlateral offset and uniform for/aft offset may be referred to as auniform spatial offset. In certain embodiments, maintenance of thelateral offset and fore/aft offset, or coordination of any shift in thelateral offset and fore/aft offset (e.g., pursuant to a two-dimensionalmatrix of pre-established positions (x, y points) for uniform loading ofa respective particular container or storage portion similar to thatillustrated in FIG. 5D), is a necessary or desired precondition toimplementing spout angle adjustment of the spout 89 or spout end 87 bythe alignment module 24.

In one embodiment in a leader mode, the transferring vehicle is steeredby the auto-guidance module 55 or the steering controller 32 inaccordance with path plan, or by a human operator. The master/slavecontroller 59 or coordination module 57 controls the receiving vehiclein a follower mode via the slave/master controller 159, where thetransferring vehicle operates in the leader mode. If the transferringvehicle operates in an automated mode or auto-steering mode, themaster/slave controller 59 provides command data locally to the steeringcontroller 32, braking controller 36, and propulsion engine controller40 of the transferring vehicle. Such command data can be normalized (orscaled), time stamped, and communicated to the receiving vehicle viawireless communication devices (48, 148) for processing by theslave/master controller 159. Alternatively, the velocity, acceleration,and heading data of the transferring vehicle is communicated to thereceiving vehicle via the wireless communications devices (48, 148) toenable to receiving vehicle to follow the path of the transferringvehicle (e.g., with a minimal time delay). In an automated mode and in aleader-follower mode, the receiving vehicle, the transferring vehicle orboth are steered and aligned automatically during transfer ofagricultural material from the transferring vehicle to the receivingvehicle.

The image processing module 18 provides image data to a user interfaceprocessing module 26 that provides, directly or indirectly, statusmessage data and performance message data to a user interface 44. Asillustrated in FIG. 1, the image processing module 18 communicates witha vehicle data bus 60 (e.g., Controller Area Network (CAN) data bus).

In one embodiment, a location-determining receiver 42, a first wirelesscommunications device 48, a vehicle controller 46, a steering controller32, a braking controller 36, and a propulsion controller 40 are capableof communicating over the vehicle data bus 60. In turn, the steeringcontroller 32 is coupled to a steering system 30 of the transferringvehicle; the braking controller 36 is coupled to the braking system 34of the transferring vehicle; and the propulsion controller 40 is coupledto the propulsion system 38 of the transferring vehicle.

In FIG. 1, the steering system 30 may comprise an electrically-drivensteering system, an electro-hydraulic steering system, a gear drivensteering system, a rack and pinion gear steering system, or anothersteering system that changes the heading of the vehicle or one or morewheels of the vehicle. The braking system 34 may comprise a regenerativebraking system, an electro-hydraulic braking system, a mechanicalbraking system, or another braking system capable of stopping thevehicle by hydraulic, mechanical, friction or electrical forces. Thepropulsion system 38 may comprise one or more of the following: (1) thecombination of an electric motor and an electric controller, (2)internal combustion engine that is controlled by an electronic fuelinjection system or another fuel metering device that can be controlledby electrical signals, or (3) a hybrid vehicle in which an internalcombustion engine drives a electrical generator, which is coupled to oneor more electric drive motors.

The system 11 facilitates the transfer of agricultural material from thetransferring vehicle (e.g., a harvesting vehicle) to a receivingvehicle. The system 11 comprises a receiving vehicle with a propelledportion for propelling the receiving vehicle and a storage portion 93for storing agricultural material. A stereo imaging device, such as thefirst imaging device 10, faces towards the storage portion 93 of thereceiving vehicle. As shown in FIG. 1, the first imaging device 10 andthe optional second imaging device 12 are mounted on the transferringvehicle, consistent with FIG. 4A. However, in alternate embodiments, thefirst imaging device 10, the optional second imaging device 12, or bothmay be mounted on the receiving vehicle or the propulsion portion 75 ofthe receiving vehicle as shown in FIG. 5A, or arranged in other possibleconfigurations.

One or more imaging devices (10, 12) are arranged to collect image data.A container module 20 identifies a container perimeter 81 of the storageportion 93 in the collected image data. The storage portion 93 has anopening inward from the container perimeter for receipt of theagricultural material. A spout module 22 is configured to identify aspout (e.g., 89 of FIG. 4A) of the harvesting vehicle in the collectedimage data. An alignment module 24 is adapted for determining therelative position of the spout 89 and the container perimeter (81 ofFIG. 4A) and for generating command data to the transferring vehicle orthe propelled portion 75 of the receiving vehicle 79 to steer thestorage portion 93 in cooperative alignment such that the spout 89 isaligned within a central zone 83 of the container perimeter 81. Asteering controller 32 is associated with a steering system 30 of thepropelled portion for steering the receiving vehicle in accordance withthe cooperative alignment.

In one embodiment, an optional mast controller 674, indicated by dashedlines, is coupled to the vehicle data bus 60, the implement data bus, orthe image processing module 18 to control an optional adjustable mast573 for mounting and adjustably positioning the first imaging device 10,the second imaging device 12, or both. The mast controller 674 isadapted to change the orientation (e.g., compound angular orientation)or height above ground of the first imaging device 10, the secondimaging device 12 or both, where the orientation may be expressed as anyof the following: a tilt angle, a pan angle, a down-tilt angle, adepression angle, or a rotation angle.

In one configuration, a user interface 44 is arranged for enteringcontainer reference data or dimensional parameters related to thereceiving vehicle. For example, the container reference data ordimensional parameters comprise a distance between a trailer hitch orpivot point (which interconnects the propulsion unit 75 and the storageportion 93) and front wheel rotational axis of the storage portion 93 ofthe receiving vehicle 79.

In an alternate embodiment, in FIG. 1, the first imaging device 10comprises a monocular imaging device and the second imaging device 12comprises a monocular imaging device that provides first monocular imagedata and second monocular image data, respectively. The image processingmodule 18 or system (e.g., 11, 111 or 311) can create a stereo imagefrom the first monocular image data (e.g., right image data) and thesecond monocular image data (e.g., left image data) with reference tothe relative position and orientation of the first imaging device 10 andthe second imaging device 12. The image processing module 18 determines:(1) at least two points on a common visual axis that bisects the lensesof both the first imaging device 10 and the second imaging device 12,and (2) a linear spatial separation between the first imaging device 10and the second imaging device 12, where the first field of view 77 (inFIG. 4A) of the first imaging device 10 and the second field of view 177of the second imaging device 12 overlap, at least partially, to capturethe spout 89, the spout end 87 and the container perimeter 81 in thecollected image data.

In an alternate embodiment, FIG. 1 further comprises an optionalodometrical sensor 440 (e.g., odometer), and an optional inertial sensor442, as illustrated by the dashed lines in FIG. 1. The odometer sensor440 may comprise a magnetic rotation sensor, a gear driven sensor, or acontactless sensor for measuring the rotation of one or more wheels ofthe transferring vehicle to estimate a distance traveled by thetransferring vehicle during a measurement time period, or a ground speedof the transferring vehicle. The odometrical sensor 440 may be coupledto the vehicle data bus 60 or an implement data bus. The inertial sensor442 may comprise one or more accelerometers, gyroscopes or otherinertial devices coupled to the vehicle data bus 60 or an implement databus. The optional odometrical sensor 440 and the optional inertialsensor 442 may augment or supplement position data or motion dataprovided by the first location-determining receiver 42.

The system 11 of FIG. 1 is well suited for use on a combine or harvesteras the transferring vehicle. The system 11 of FIG. 1 may communicate andcooperate with a second system (311) on the receiving vehicle (e.g., asillustrated in FIG. 4A) to coordinate the relative alignment of thetransferring vehicle and the receiving vehicle during unloading ortransferring of material from the transferring vehicle. Like referencenumbers in FIG. 1 and FIG. 2 indicate like elements.

The vision-augmented guidance system 111 of FIG. 2 is similar to thesystem 11 of FIG. 1; except that the system 111 of FIG. 2 furthercomprises an implement data bus 58, a gateway 29, and vehiclecontrollers 50 coupled to the vehicle data bus 60 for the optionallights 14 and spout 56 (in FIG. 2). The vehicle controller 50 controlsthe lights 52; the spout controller 54 controls the spout 89 via one ormore of the following: a rotation actuator 260, tilt actuator 262, ordeflector actuator 264. A rotation actuator 260 may rotate the spoutabout a first axis that is generally perpendicular to the ground; a tiltactuator 262 may tilt or rotate the spout at an upward or downward anglealong a second axis that may be generally parallel to the ground orsubstantially perpendicular to the first axis. The deflector actuator264 may activate a deflector at or near a spout end 87 of the spout 89to avoid overshooting or undershooting the container or storage area ofthe receiving vehicle with harvested material, for example. In oneembodiment, each of the rotation actuator 260, the tilt actuator 262,and the deflector actuator 264 may comprise a servo-motor, electricmotor, or an electro-hydraulic mechanism for moving or adjusting theorientation or spout angle of the spout (89 in FIG. 5A or 56 in FIG. 2),or its spout end 87.

In one configuration, the spout controller 54 controls the spout 89based on operator input or image processing module 18 based on sensordata from one or more of the following sensors: a rotation sensor 266, atilt sensor 268, and a deflector sensor 270. A rotation sensor 260measures a first angle of rotation of the spout about a first axis thatis generally perpendicular to the ground; a tilt sensor 268 measures asecond angle of rotation, or a tilt angle, of the spout at an upward ordownward angle along a second axis that may be generally parallel to theground or substantially perpendicular to the first axis. The deflectorsensor 264 may measure a deflector angle or a deflector active status orinactive status at or near a spout end 87 of the spout (89 or 56) toavoid overshooting the container or storage area of the receivingvehicle with harvested material, for example. In one embodiment, each ofthe rotation sensor 266, and the tilt sensor 268 may comprise a magneticfield sensor, a Hall Effect sensor, a magnetostrictive sensor, amagnetoresistive sensor, a variable resistor, or another suitable sensorfor measuring an angle between the spout 89 and the transferringvehicle, with respect to rotation along the first axis, the second axis,or otherwise. In one configuration, the deflector sensor 270 maycomprise a contact sensor or contact switch to provide a status messageor status signal indicative of whether the deflector is extended orretracted with respect to the spout end 87.

In one configuration, the implement data bus 58 may comprise aController Area Network (CAN) implement data bus. Similarly, the vehicledata bus 60 may comprise a controller area network (CAN) data bus. In analternate embodiment, the implement data bus 58, the vehicle data bus60, or both may comprise an ISO (International Organization forStandardization) data bus or ISOBUS, Ethernet or another data protocolor communications standard.

The gateway 29 supports secure or controlled communications between theimplement data bus 58 and the vehicle data bus 60. The gateway 29comprises a firewall (e.g., hardware or software), a communicationsrouter, or another security device that may restrict or prevent anetwork element or device on the implement data bus 58 fromcommunicating (e.g., unauthorized communication) with the vehicle databus 60 or a network element or device on the vehicle data bus 60, unlessthe network element or device on the implement data bus 58 follows acertain security protocol, handshake, password and key, or anothersecurity measure. Further, in one embodiment, the gateway 29 may encryptcommunications to the vehicle data bus 60 and decrypt communicationsfrom the vehicle data bus 60 if a proper encryption key is entered, orif other security measures are satisfied. The gateway 29 may allownetwork devices on the implement data bus 58 that communicate via anopen standard or third party hardware and software suppliers, whereasthe network devices on the vehicle data bus 60 are solely provided bythe manufacturer of the transferring vehicle (e.g., self-propelledforage harvester) or those authorized by the manufacturer.

In FIG. 2, a first location-determining receiver 42, a user interface44, a user interface processing module 26, and the gateway 29 arecoupled to the implement data bus 58, although in other embodiments suchelements or network devices may be connected to the vehicle data bus 60.Vehicle controller 50 and spout controller 54 are coupled to the vehicledata bus 60. In turn, the vehicle controller 50 and spout controller 54are coupled, directly or indirectly, to optional lights 52 on thetransferring vehicle and the spout 89 of the transferring vehicle (e.g.,self propelled forage harvester). Although the system of FIG. 2 is wellsuited for use or installation on a self-propelled forage harvester, thesystem of FIG. 2 may also be applied to combines, harvesters or otherheavy equipment.

The system 11 of FIG. 1 and the system 111 of FIG. 2 apply to thetransferring vehicle, whereas the system of FIG. 3A and FIG. 3B apply tothe receiving vehicle. Like reference numbers in FIG. 1, FIG. 2, FIG.3A, and FIG. 3B indicate like elements. As previously noted, thetransferring vehicle may comprise a combine, harvester, self-propelledharvester, vehicle or heavy equipment that collects or harvests materialfor transfer to the receiving vehicle. In one embodiment, the receivingvehicle may comprise a propelled portion (e.g., 75 in FIG. 4A) and astorage portion (e.g., 93 in FIG. 4A) for storing the materialtransferred from the transferring vehicle. The receiving vehicle maycomprise the combination of a tractor and a grain cart or wagon, wherethe tractor is an illustrative example of the propelled portion 75 andwhere the grain cart is an illustrative example of the storage portion93. Here, the system 311 of FIG. 3A is presented as an image processingsystem 18 that is alternatively on the receiving vehicle, instead of thetransferring vehicle as in FIG. 1 and FIG. 2. In contrast, FIG. 3B isconfigured to cooperate with the system (11 or 111) of FIG. 1 or FIG. 2as will be described later in detail.

The system of FIG. 3A comprises the first imaging device 10, the imageprocessing module 18, the user interface processing module 26, thegateway 29, a second location-determining receiver 142, a secondwireless communications device 148, the slave/master controller 159among other devices illustrated in FIG. 3. In one embodiment, the firstimaging device 10 is mounted on the propelled portion 75 (e.g., tractor)of the receiving vehicle facing backwards towards the storage portion 93(e.g., cart) or container 85 (e.g., as illustrated in FIG. 5A). Thesecond wireless communications device 148 (of the receiving vehicle) isadapted for communicating data with the first communications device 48(of the transferring vehicle) of FIG. 1 or FIG. 2, for example. Thesecond location-determining receiver 142 provides position data,location data, altitude, velocity, or acceleration data.

In one embodiment, in FIG. 3A the image processing module 18 estimatesthe relative position of the transferring vehicle and the receivingvehicle, and the relative orientation of the spout end 87 (or spoutposition) to the storage portion 93 (or container position) to direct orcontrol the steering system 30, braking system 34, and propulsion system38 of the receiving vehicle via one or more controllers (32,36,40) toplace the transferring vehicle and receiving vehicle in a targettransferring position for transferring of material from the spout end 87to the storage portion 93. For example, the target transferring positionor cooperative alignment can refer to registration or alignment of thespout position and the container position (e.g., for one or moresampling time periods). Meanwhile, the transferring vehicle may becontrolled (steering, velocity, and acceleration) by its own operator orthe first location-determining receiver 42. For example, the system 311or image processing system 18 identifies the spout end 87, or the bootor tip of the spout where the material exits the spout 89 and computes(through stereo correspondence, disparity or other image processing) therelative position of the spout end 87 to the storage portion 93, thecontainer perimeter of the storage portion 93, a central zone of thestorage portion 93.

In FIG. 3A, a steering controller 32 associated with a steering system30 of the receiving vehicle can steer the propelled portion of thereceiving vehicle in accordance with a cooperative alignment (e.g.,suitable for efficient transferring of material from the transferringmaterial to the receiving vehicle) based on location data and motiondata from the first location-determining receiver 42 and the secondlocation-determining receiver 142. With or without such location andmotion data from one or more location-determining receivers (42, 142),the image processing module 18 can use image data to align the spout 89or spout end 87 with the storage portion 93 or container perimeter 81 ofthe receiving vehicle by steering the propelled portion of the receivingvehicle to maintain the cooperative alignment for unloading ortransferring material between the vehicles.

FIG. 3B provides a configuration in which the transferring vehicle andreceiving vehicle operate in a leader-follower configuration withtransferring vehicle in the lead role and the receiving vehicle in thefollowing role, such that the receiving vehicle tracks or follows theheading and velocity (and optionally the acceleration) of the leadvehicle with a target spatial offset. In FIG. 3B, the image processingmodule 18 is only active on the transferring vehicle and is inactive ornot present on the receiving vehicle. On the transferring vehicle, theimaging processing module 18 and first location-determining receiver 42provide image guidance data (if available or if reliable) and firstmotion data (e.g., location, heading, velocity and acceleration),respectively, that are used by both the transferring vehicle and thereceiving vehicle for guidance.

In one configuration, the image guidance data, the first motion data, orboth is transmitted by the first wireless communications device 48 onthe transferring vehicle to the second wireless communications device148 on the receiving vehicle. On the receiving vehicle, the slave/mastercontroller 159 receives the first motion data (and first location data)from the first location-determining receiver 42 on the transferringvehicle and second motion data (and second location data) from thesecond location-determining receiver 142 on the receiving vehicle. Theslave/master controller 159 generates an error or control data forcontrolling the steering system 30, braking system 34, and propulsionsystem 38 of the receiving vehicle, where the error or control data isbased on the difference between the first motion data and the secondmotion data (and the first location data and second location data).

In another configuration, the master/slave controller 59 on thetransferring vehicle may send control signals or control data messagesto the slave/master controller 159 on the receiving vehicle to controlthe steering system 30, braking system 34, or propulsion system 38 ofthe receiving vehicle to optimize the relative position of the spout end87 to the storage portion 93 of the container, the target spatialseparation between the vehicles, or to avoid an imminent collisionbetween the vehicles. On the receiving vehicle, the slave/mastercontroller 159 can operate in a slave mode or follower mode under thecontrol of the master/slave controller 59. The auto-guidance module 155and the coordination module 157 within the slave/master controller 159provide guidance of the receiving vehicle, consistent with location dataand a path plan, or with other guidance data or command data from themaster/slave controller 59 to the transferring vehicle.

The second wireless communications device 148 is coupled to the vehicledata bus 60. In FIG. 3A or FIG. 3B, the system (311 or 411) for areceiving vehicle can be used in conjunction with the system (11 or 111)of the transferring vehicle of FIG. 1 or FIG. 2. The wireless devices(48, 148) may exchange or communicate position data, relative positiondata, command data, or control data for controlling, adjusting orcoordinating the position and orientation of the vehicles; moreparticularly, the position and the orientation of the spout 89 or spoutend 87 over the opening 83 of the container 85. The communicated databetween the wireless communications devices (48, 148) may comprise anyof the following data: (1) position data or location data from eitherlocation-determining receiver (42 or 142), (2) command or guidance datafrom an image processing module 18 on the transferring vehicle orreceiving vehicle, (3) command or guidance data from the master/slavecontroller 59 or coordination module 47, (4) command or guidance datafrom the slave/master controller 159 or coordination module 157 or (5)alignment data (e.g., relative position of the imaging devices, relativeposition of reference points on the vehicles, and relative alignmentbetween the spout and container perimeter) from the alignment module 24.For example, the imaging processing module 18 or alignment module 24 mayuse first location data of a first location-determining receiver 42 andsecond location data of a second location-determining receiver 142 todetermine a relative position or spatial offset between the two vehicles(or a relative position) of the first imaging device 10 and the secondimaging device 12 and to determine a relative alignment between thespout and the container perimeter.

The system 311 of FIG. 3A may support different configurations orcombinations of electronic systems (e.g., pairs 11 and 311, 111 and 311,11 and 411, and 111 and 411) at the transferring and receiving vehicles.In a first configuration, an imaging device 10 on the receiving vehiclemay be used instead of, or with, one or more imaging devices (10, 12) onthe transferring vehicle. In a second configuration, the system 311 ofFIG. 3A may provide collected image processing data from the receivingvehicle to the transferring vehicle via the transmission of thecollected image processing data from the second wireless communicationsdevice 148 to the first wireless communications device 48. Here, in asecond configuration, the collected imaging processing data from thereceiving vehicle may be referred to as supplementary data,complementary image data, or additional image data. The additional imagedata may provide additional perspective or viewpoints that cansupplement the image data collected by the transferring vehicle. Forexample, the additional image data may provide more accurate orsupplement image data where the image data collected by the transferringvehicle is affected by moisture (e.g., on its lens), dust, poor ambientlighting, glare or reflections that do not similarly impair or impactthe additional image data.

The optional odometrical sensor 440 may be coupled to the vehicle databus 60 or the implement data bus 58. The inertial sensor 442 maycomprise one or more accelerometers, gyroscopes or other inertialdevices coupled to the vehicle data bus 60 or the implement data bus 60.

The distributed fill state sensors 149 (e.g., in FIG. 3A and FIG. 3B)may comprise optical level sensors (not shown) distributed at differentheight levels within or around the container 85, piezoelectric masssensors distributed to measure mass of the agricultural material indifferent volumes or on different floor areas (e.g., of a falsevertically movable floor) of the container 85, or piezoresistive masssensors distributed to measure mass of the agricultural material indifferent volumes or on different floor areas of the container 85, forexample.

FIG. 4A illustrates a plan view of a transferring vehicle 91 and areceiving vehicle 79. As illustrated in FIG. 4A for explanatorypurposes, the transferring vehicle 91 is shown as a combine with aharvesting head 185, whereas the receiving vehicle 79 is shown as atractor and a grain cart. More generally, the receiving vehicle 79comprises the combination of a propulsion unit 75 and a storage unit 93(e.g., a towed storage unit).

FIG. 4A shows a first imaging device 10 on the transferring vehicle(e.g., combine) and an optional second imaging device 12 on a spout 89of the transferring vehicle 91. The spout 89 may also be referred to asan unloading auger. The spout end 87 may be referred to as a boot. Thefirst imaging device 10 has a first field of view 77, indicated by thedashed lines. The boundaries of the fields of view (77, 177) are merelyshown for illustrative purposes and will vary in actual practice. Thesecond imaging device 12 has a second field of view 177, indicated bythe dashed lines. In FIG. 4A, the spout 89, or the spout end 87, isgenerally aligned over a central zone 83, central region or target areaof the storage container 85 (of the receiving vehicle) for unloadingmaterial from the transferring vehicle to the receiving vehicle 79. Thetarget area may be consistent with cooperative alignment where the spoutposition and the container position are registered or aligned.Similarly, the transferring vehicle 91 and the receiving vehicle 79 arealigned in position as shown, regardless of whether the vehicles movetogether in a forward motion (e.g., with coordinated or tracked vehicleheadings) during harvesting, as is typical, or are stationary. Duringunloading, the master/slave controller 59 and slave/master controller159 facilitate maintenance of a generally uniform spatial offset (e.g.,a generally static offset that varies only within a target tolerance)between the vehicles (91, 79), subject to any incremental adjustment ofthe offset for uniform filling of the container 85. The master/slavecontroller 59 and slave/master controller 159 support maintenance of auniform fore/aft offset (Φ or φ) and a lateral offset (Δ).

In one embodiment the illustration in FIG. 4A, the second imaging device12 may be mounted on the spout 89. The transferring vehicle 91 may beequipped with a spout angle sensor or rotation sensor 116 (e.g., rotaryposition sensor) to measure the rotation angle of the spout.

In an alternate embodiment for a spout-mounted imaging device (e.g.,second imaging device 12 on the spout as shown in FIG. 4A), the rotationangle of the spout 89 may be used to facilitate fusion of image datafrom the first imaging device 10 and the second imaging device 12, or toconstruct stereo image data where the first imaging device 10 and thesecond imaging device 12 individually provide monocular image data forthe same scene or object.

In any arrangement of imaging devices (10, 12) disclosed herein wherethe fields of view (77, 177) overlap, data fusion of image data from afirst imaging device 10 and a second imaging device 12 enables the imageprocessing module 18 to create a virtual profile of the materialdistribution level inside the storage portion 85, even when the entiresurface of the agricultural material is not visible to one of the twoimaging devices (10, 12). Even if the second imaging device 12 is notmounted on the spout 89 in certain configurations, the spout anglesensor 116 may facilitate using the spout end 87 as a reference point inany collected image data (e.g., for fusion, virtual stitching oralignment of image data from different imaging devices.) The virtualprofile of the entire surface of the agricultural material in thestorage portion 93 enables the system (11, 111, 311) or imaging module18 to intelligently execute a fill strategy for the storage portion 93of the receiving vehicle.

In FIG. 4B, the first imaging device 10 and the second imaging device 12are mounted on the transferring vehicle 91, where the first imagingdevice 10 is mounted on a first support 573 or adjustable mast (e.g.,monopole with tilt or pan adjustment) to provide a first downward fieldof view 677 or a down-tilted field of view. As shown in FIG. 4B, thedown-tilt angle (ε) is measured with respect to a vertical axis. A tiltsensor on or in the imaging device 10, or associated with themast-imaging device mounting hardware, may measure the down-tilt angleor the declination angle for reporting to the mast controller 674. Forexample, the tilt sensor may comprise one or more accelerometers, suchas those that are commercially available for portable consumerelectronic devices.

If the first imaging device 10 is elevated or mounted on thetransferring vehicle 91 sufficiently high with respect to the storageportion 93, the first imaging device 10 will have visibility or downwardfield of view 677 into the storage portion 93 or container 85 sufficientto observe and profile the surface (or height (z) versus respective x, ycoordinates in the container) of the agricultural material (e.g., grain)as the agricultural material fills the storage portion 85. The firstimaging device 10 may be mounted on the roof of the transferring vehicle91 facing or looking directly away from the side of the transferringvehicle with the spout 89 for unloading agricultural material.

If the first imaging device 10 is further from the storage portion 93 orcontainer 85 than the second imaging device 12 during unloading of theagricultural material, the first imaging device 10 can have suitableview of the storage portion 93 (e.g., grain cart) to facilitate easiertracking of the relative position of the storage portion 93 to thetransferring vehicle 91.

In one illustrative configuration, consistent with the downward field ofview (677) the optical axes, perpendicular to respective lens, of thefirst imaging device 10, the second imaging device 12, or both aretilted downward from generally horizontal plane at a down-tilted angle(c) (e.g., approximately 60 to 85 degrees downward from the verticalaxis as shown in FIG. 4B or approximately 10 to 25 degrees downward froma horizontal axis or horizontal plane). If a field of view or opticalaxis of the imaging device (10, 12) is tilted downward from a generallyhorizontal plane, there are several advantages.

First, less of the sky is visible in the field of view of the imagingdevice (10, 12) such the collected image data tends to have a moreuniform image intensity profile. The tilted configuration of the opticalaxis or axes (which are perpendicular to the lenses of the imagingdevices (10, 12) is well suited for mitigating the potential dynamicrange issues caused by bright sunlight or intermediate cloud cover, forinstance. In one embodiment, the imaging device (e.g., 10) is mountedwith a down-tilt angle to avoid washout of, corruption of, orinterference with collected image data during a transient exposure timeperiod to sunlight, a reflection or a light source that exceeds athreshold brightness level for a material portion of the pixels in thecollected image data.

Second, the bottom part of the storage portion 93 becomes more visiblein the image data to enable the recording of the image data related toone or more wheels of the storage portion 93. The wheel is a feature onthe storage portion 93 that can be robustly tracked by image processingtechniques. Third, tilting the stereo camera down may mitigate theaccumulation of dust and other debris on the lens or external window ofthe imaging device (10, 12).

FIG. 5A illustrates a plan view of a transferring vehicle and areceiving vehicle. Like reference numbers indicate like elements in FIG.5A and FIG. 4. FIG. 5A shows a first imaging device 10 on the rear ofthe propulsion unit 75 (e.g., tractor) or the receiving vehicle 79. Thefirst imaging device 10 has a first field of view 277 indicated by thedashed lines. In FIG. 5A, the spout 89 or spout end 87 is generallyaligned over a central zone 83, central region or target area of thestorage unit 93 or container 85 for unloading material from thetransferring vehicle 91 to the receiving vehicle 79. Similarly, thetransferring vehicle 91 and the receiving vehicle 79 are aligned inposition as shown, and even as the vehicles (79, 91) move withcoordinated headings or generally parallel headings and with no orminimal relative velocity with respect to each other.

In an alternative embodiment of FIG. 5A, an optional second imagingdevice 12 may be mounted on the vehicle with a second field of view,which may be slightly offset from, overlapped with, or aligned with thefirst field of view 277 to provide redundancy should the first imagingdevice 10 fail, malfunction, be unavailable, be unreliable, or providepoor quality image data. For example, the first imaging device 10 maynot operate reliably where it is obscured by dust, fog, salt, orair-born contaminants, or where it is exposed to inadequate ambientlight conditions or excessive glare from sunlight or reflected light. InFIG. 5A, the image processing module 18 can estimate the distance orrange from the first imaging device 10, the second imaging device 12, orboth to an object in the image, such as the spout 89, the spout end 87,the container perimeter 81, the level or profile of agriculturalmaterial in the container 85 (e.g., at various positions or coordinateswithin the container 85).

FIG. 5B illustrates a view in a horizontal plane as viewed alongreference line 5B-5B in FIG. 5A. In one embodiment, the first imagingdevice 10 is mounted on the receiving vehicle 79 on a first support 571(e.g., monopole with tilt or pan adjustment) to provide a first downwardfield of view 577 or a first down-tilted field of view.

In an alternate embodiment, the first support 571 comprises anadjustable mast or telescopic mast that is controlled by a mastcontroller (674) to remotely adjust the height, tilt angle, down-tiltangle, declination angle, rotation angle, or pan angle to providereliable image data for processing by the image processing module 18.The down-tilt angle or declination angle may be measured with respect toa horizontal axis or horizontal plane that is perpendicular to avertical axis. At or near a top or top segment of the mast, a movable oradjustable shelf, a movable or adjustable mounting bracket or othermovable mounting arrangement secures the imaging device 10 to the firstsupport or mast.

If the first imaging device 10 is elevated or mounted on the receivingvehicle 79 sufficiently high with respect to the storage portion 93, thefirst imaging device 10 will have visibility or first downward field ofview 577 into the storage portion 93 or container 85 sufficient toobserve and profile the surface (or height (z) versus respective x, ycoordinates in the container) of the agricultural material (e.g., grain)as the agricultural material fills the storage portion 85. The firstimaging device 10 may be mounted on the roof or cab of the receivingvehicle 79 (or its propulsion unit 75) facing or looking directly awayfrom the side of the transferring vehicle with the spout 89 forunloading agricultural material.

In one illustrative configuration, consistent with the downward field ofview 577 the optical axes, perpendicular to respective lens, of thefirst imaging device 10 is tilted downward from generally horizontalplane at a down-tilted angle (e.g., approximately 10 to 25 degreesdownward from the horizontal plane or horizontal axis). If a field ofview or optical axis of the imaging device 10 is tilted downward from agenerally horizontal plane, there are several advantages. First, less ofthe sky is visible in the field of view of the imaging device 10 suchthe collected image data tends to have a more uniform image intensityprofile. The tilted configuration of the optical axis (which areperpendicular to the lenses of the imaging devices 10 is well suited formitigating the potential dynamic range issues caused by bright sunlightor intermediate cloud cover, for instance. Second, the bottom part ofthe storage portion 93 becomes more visible in the image data to enablethe recording of the image data related to one or more wheels of thestorage portion 93. The wheel is a feature on the storage portion 93that can be robustly tracked by image processing techniques. Third,tilting the stereo camera down may mitigate the accumulation of dust andother debris on the lens or external window of the imaging device 10.

FIG. 5C illustrates a two-dimensional representation of various possibleillustrative distributions of material in the container 85, consistentwith a view along reference line 5C-5C in FIG. 5A. In one configuration,the y axis is coincident with the longitudinal axis or direction oftravel of the container, the z axis is coincident with the height ofmaterial in the container, and the x axis is perpendicular to thedirection of travel of the container, where the x, y and z axes aregenerally mutually orthogonal to each other.

In the chart of FIG. 5C, the vertical axis is the mean height (z) 500 ofthe material in the container 85; the horizontal axis represents thelongitudinal axis (y) 502 of the container 85. The maximum capacity 505or container capacity is indicated by the dashed line on the verticalaxis. The front 512 of the container 85 is located at the origin,whereas the back 514 of the container 85 is located on the verticalaxis.

FIG. 5C shows three illustrative distributions of material within thecontainer 85. The first distribution is a bimodal profile 508 in whichthere are two main peaks in the distribution of material in thecontainer 85. The bimodal profile 508 is shown as a dotted line. Thebimodal profile 508 can occur where the spout angle adjustment isgoverned by an electro-hydraulic system with non-proportional valves.

The second distribution is the front-skewed modal profile 510 in whichthere is single peak of material toward the front of the container 85.The front-skewed modal profile 510 is shown as alternating long andshort dashes. The second distribution may occur where the volume orlength (y) of the container 85 is greater than a minimum threshold andwhere the relative alignment between the spout end 87 and the container85 is generally stationary during a substantial portion of unloading ofthe material.

The third distribution is the target profile 508 which may be achievedby following a suitable fill strategy as disclosed in this document. Forexample, during unloading, the spout angle may be adjusted to promoteuniform distribution of the agricultural material in the container 85.Further, the lateral offset (Δ) or fore/aft offset (Φ or φ) between thevehicles (79, 91) may be adjusted in accordance with a matrix (e.g., x,y coordinate matrix of equidistant point locations of the transferringvehicle relative to a constantly spaced position point of the receivingvehicle) of relative unloading positions, particularly for longer orwider containers that cannot be uniformly filled from a single, relativeunloading point between the vehicles (79, 91).

FIG. 5D is a plan view of a transferring vehicle 91 and a receivingvehicle 79, where the transferring vehicle 91 is aligned within a matrix500 of possible offset positions (502, 504) between the transferring andreceiving vehicle 79. Each offset position (502, 504) may be defined interms of a combination of a unique lateral offset (Δ) and a uniquefore/aft offset (Φ or φ) between the vehicles (79, 91). As shown, thematrix 500 is a two-dimensional, 2×3 (2 columns by 3 rows) matrix ofpossible offset positions (502, 504). Although six possible matrixpositions (502, 504) are shown, in alternate embodiments the matrix 500may consistent of any number of possible offset positions greater thanor equal to two. Here, the transferring vehicle 91 occupies a currentoffset position 504 in the first column at the second row of the matrix500, whereas the other possible offset positions 502 are not occupied bythe transferring vehicle 91. As directed by any of the systems (11, 111,311), the imaging processing module 18, or the master/slave controller59 of the transferring vehicle 91 or the receiving vehicle 79 can shiftto any unoccupied or other possible offset positions 502 within thematrix 500 to promote or facilitate an even distribution of agriculturalmaterial within the container 85 or storage portion of the receivingvehicle 79. The spatial offset between the transferring vehicle 91 andthe receiving vehicle 79 may be adjusted in accordance with the matrix500 or another matrix of preset positions of spatial offset to promoteeven distribution of agricultural material in the storage portion of thereceiving vehicle 79, where any matrix is associated with a unique,relative lateral offset (Δ) and fore/aft offset (Φ or φ) between thevehicles (79, 91).

In one embodiment of FIG. 5D, both the transferring vehicle 91 and thereceiving vehicle 79 may be moving forward at approximately the samevelocity and heading (e.g., within a tolerance or error of the controlsystems during harvesting), where the relative position of the receivingvehicle 79 is generally fixed or constant with respect to each position(502, 504) in the matrix 500 that the transferring vehicle 91 canoccupy.

In an alternate embodiment, the receiving vehicle 79 may be shown asoccupying a two dimensional matrix (e.g., 3×3 matrix, with three columnsand three rows) of possible offset positions, while the position of thetransferring vehicle 91 is generally fixed or constant with respect toeach position of matrix that the receiving vehicle 79 could occupy. Asdirected by any of the systems (11, 111, 311) in the alternateembodiment, the imaging processing module 18, or the master/slave/mastercontroller 159 of the receiving vehicle 79 can shift to any unoccupiedor other possible offset positions within the matrix to promote orfacilitate an even distribution of agricultural material within thecontainer 85 or storage portion of the receiving vehicle 79.

In FIG. 6A through 7D, inclusive, each of the blocks or modules mayrepresent software modules, electronic modules, or both. Softwaremodules may contain software instructions, subroutines, object-orientedcode, or other software content. The arrows that interconnect the blocksor modules of FIG. 6A through FIG. 7D, inclusive, show the flow of dataor information between the blocks. The arrows may represent physicalcommunication paths or virtual communication paths, or both. Physicalcommunication paths mean transmission lines or one or more data busesfor transmitting, receiving or communicating data. Virtual communicationpaths mean communication of data, software or data messages betweenmodules.

FIG. 6A is a block diagram that shows the imaging processing module 18and the container module 20 in greater detail than FIG. 1. Likereference numbers in FIG. 1, FIG. 6A, FIG. 6B, FIG. 7A, FIG. 7B and FIG.7C indicate like elements. As illustrated in FIG. 6A, the first imagingdevice 10, the second imaging devices 12, or both, provide input of rawstereo camera images (or raw image data) to the image rectificationmodule 101. In turn, the image rectification module 101 communicateswith the stereo correspondence module 103 and the edge detector 105. Theedge detector 105 provides an output to the linear Hough transformer107. The outputs of the stereo correspondence module 103 and the linearHough transformer 107 are provided to the container localizer 111. Thecontainer localizer 111 may access or receive stored (a priori) hitchand container measurements, container dimensions, container volume orother receiving vehicle data from the data manager 109. In oneembodiment, the container localizer 111 may receive or access and anestimate of the tongue angle (between the propulsion portion 75 and thestorage portion 93 of the receiving vehicle 79) from the angle estimator113 and stored hitch and container measurements.

Although the image rectification module 101 is shown as part of thecontainer module 20, in an alternate embodiment, the image rectificationmodule 101 or image rectifier may be incorporated into the first imagingdevice 10, the second imaging device 12, or both. In another embodiment,the image rectification module 101 (in the image processing module 18 orin the imaging device (10, 12)) provides image processing to thecollected image data or raw stereo images to reduce or remove radiallens distortion and image alignment required for stereo correspondence.The radial lens distortion is associated with the radial lenses of thefirst imaging device 10, the second imaging device 12, or both. Theinput of the image rectification module 101 is raw stereo image data,whereas the output of the image rectification module 101 is rectifiedstereo image data.

In one illustrative embodiment, the image rectification module 101eliminates or reduces any vertical offset or differential between a pairof stereo images of the same scene of the image data. Further, the imagerectification module can align the horizontal component (or horizontallines of pixels of the stereo images) to be parallel to the scan linesor common reference axis of each imaging device (e.g., left and rightimaging device) within the first and second imaging devices (10, 12).For example, the image rectification module can remap pixels frominitial coordinates to revised coordinates for the right image, leftimage or both to achieve registration of the images or rectified rightand left images of the stereo image. The rectified image supportsefficient processing and ready identification of corresponding pixels orobjects within the image in the left image and right image of a commonscene for subsequent image processing (e.g., by the stereo correspondingmodule 103).

In one configuration, the stereo correspondence module 103 applies astereo matching algorithm or disparity calculator to collected stereoimage data, such as the rectified stereo image data outputted by theimage rectification module 101. The stereo matching algorithm ordisparity calculator may comprise a sum of absolute differencesalgorithm, a sum of squared differences algorithm, a consensusalgorithm, or another algorithm to determine the difference or disparityfor each set of corresponding pixels in the right and left image (e.g.,along a horizontal axis of the images or parallel thereto).

In an illustrative sum of the absolute differences' procedure, the rightand left images (or blocks of image data or rows in image data) can beshifted to align corresponding pixels in the right and left image. Thestereo matching algorithm or disparity calculator determines a disparityvalue between corresponding pixels in the left and right images of theimage data. For instance, to estimate the disparity value, each firstpixel intensity value of a first subject pixel and a first sum of thefirst surrounding pixel intensity values (e.g., in a block or matrix ofpixels) around the first pixel is compared to each corresponding secondpixel intensity value of second subject pixel and a second sum of thesecond surrounding pixel intensity values (e.g., in a block or matrix ofpixels) around the second pixel. The disparity values can be used toform a disparity map or image for the corresponding right and left imagedata.

The image processing module 18, or container localizer 111, estimate adistance or range from the first imaging device 10, the second imagingdevice 12, or both to the pixels or points lying on the containerperimeter 81, on the container edge 181, on the spout 89, on the spoutend 87, or on any other linear edge, curve, ellipse, circle or objectidentified by the edge detector 105, the linear Hough transformer 107,or both. For example, the image processing module 18 may use thedisparity map or image to estimate a distance or range from the firstimaging device 10, the second imaging device 12, or both to the pixelsor points lying on the container perimeter 81, the container edges 181,the container opening 83, in the vicinity of any of the foregoing items,or elsewhere.

Although the stereo correspondence module 103 is illustrated as part ofthe container module 20, in an alternate embodiment the stereocorrespondence module 103 may comprise a separate module within theimage processing system 18 or a disparity module, for example.

In one embodiment, the container module 20 comprises: (1) an edgedetector 105 for measuring the strength or reliability of one or moreedges 181, or points on the container perimeter 81 in the image data;(2) a linear Hough transformer 107 for identifying an angle and offsetof candidate linear segments in the image data with respect to areference point on an optical axis, reference axis of the one or moreimaging devices (10, 12); (3) a container localizer 111 adapted to usespatial and angular constraints to eliminate candidate linear segmentsthat cannot logically or possibly form part of the identified linearsegments of the container perimeter 81, or points on the containerperimeter 81; and (4) the container localizer 111 transforms thenon-eliminated, identified linear segments, or identified points, intotwo or three dimensional coordinates relative to a reference point orreference frame of the receiving vehicle and harvesting vehicle.

The edge detector 105 may apply an edge detection algorithm to rectifiedimage data from the image rectification module 101. Any number ofsuitable edge detection algorithms can be used by the edge detector 105.Edge detection refers to the process of identifying and locatingdiscontinuities between pixels in an image or collected image data. Forexample, the discontinuities may represent material changes in pixelintensity or pixel color which defines boundaries of objects in animage. A gradient technique of edge detection may be implemented byfiltering image data to return different pixel values in first regionsof greater discontinuities or gradients than in second regions withlesser discontinuities or gradients. For example, the gradient techniquedetects the edges of an object by estimating the maximum and minimum ofthe first derivative of the pixel intensity of the image data. TheLaplacian technique detects the edges of an object in an image bysearching for zero crossings in the second derivative of the pixelintensity image. Further examples of suitable edge detection algorithmsinclude, but are not limited to, Roberts, Sobel, and Canny, as are knownto those of ordinary skill in the art. The edge detector 105 may providea numerical output, signal output, or symbol, indicative of the strengthor reliability of the edges 181 in field. For example, the edge detectormay provide a numerical value or edge strength indicator within a rangeor scale or relative strength or reliability to the linear Houghtransformer 107.

The linear Hough transformer 107 receives edge data (e.g., an edgestrength indicator) related to the receiving vehicle and identifies theestimated angle and offset of the strong line segments, curved segmentsor generally linear edges (e.g., of the container 85, the spout 89, thespout end 87 and opening 83) in the image data. The estimated angle isassociated with the angle or compound angle (e.g., multidimensionalangle) from a linear axis that intercepts the lenses of the firstimaging device 10, the second image device 12, or both. The linear Houghtransformer 107 comprises a feature extractor for identifying linesegments of objects with certain shapes from the image data. Forexample, the linear Hough transformer 107 identifies line equationparameters or ellipse equation parameters of objects in the image datafrom the edge data outputted by the edge detector 105, or Houghtransformer 107 classifies the edge data as a line segment, an ellipse,or a circle. Thus, it is possible to detect containers or spouts withgenerally linear, rectangular, elliptical or circular features.

In one embodiment, the data manager 109 supports entry or selection ofcontainer reference data by the user interface 44. The data manager 109supports entry, retrieval, and storage of container reference data, suchas measurements of cart dimensions, by the image processing module 18 togive spatial constraints to the container localizer 111 on the linesegments or data points that are potential edges 181 of the cart opening83.

In one embodiment, the angle estimator 113 estimates the angle of thestorage portion 93 (e.g., cart) of the receiving vehicle 79 to the axisof the direction of travel of the propelled portion 75 (e.g., tractor)of the receiving vehicle 79. The angle estimator 113 provides angularconstraints to the container localizer 111 on the lines, or data points,that are potential edges 181 of the container opening 83. Inconfiguration, the angle estimator 113 is coupled to the localizer 111(e.g., container localizer or Kalman filter). The angle estimator filter113 outputs, or is capable of providing, the received estimated angle ofthe storage portion 93 relative to the axis of the direction of travelof the propelling portion 75 of the vehicle.

The localizer 111 is adapted to receive measurements of dimensions ofthe container perimeter 81 or the storage portion 93 of the vehicle tofacilitate identification of candidate linear segments that qualify asidentified linear segments of the container perimeter 81. In oneembodiment, the localizer 111 is adapted to receive an estimated angleof the storage portion 93 relative to the propelling portion 75 of thevehicle to facilitate identification of candidate linear segments thatqualify as identified linear segments of the container perimeter 81. Thelocalizer 111 uses spatial and angular constraints to eliminatecandidate lines in the image data that cannot be possibly or logicallypart of the container opening 83 or container edges 181, then selectspreferential lines (or data points on the container edge 81) as the mostlikely candidates for valid container opening 83 (material therein) orcontainer edges 181. The localizer 111 characterizes the preferentiallines as, or transformed them into, three dimensional coordinatesrelative to the vehicle or another frame of reference to represent acontainer perimeter of the container 85.

FIG. 6A illustrates an image rectification module 101 or image rectifierthat may reside in the imaging device 10. The image rectification module101 provides a rectified stereo image to the container module 20 forprocessing. As shown, the container module 10 may receive input datafrom one or more of the following sources on the receiving vehicle: datamanager (e.g., container setup module) 109, odometrical sensor 440,inertial sensor 442, second location-determining receiver 142, or anangle sensor (not shown). A tongue angle sensor, which can be coupled todata bus 60, provides sensor data indicative of a trailer tongue angleor hitch angle at a pivot point between the propulsion portion and thestorage portion of the receiving vehicle. The container module 10 usesthe input data to estimate a container position or its containerperimeter (e.g., via a trailer tongue angle between the propelledportion and the storage portion, a heading of the propelled portion, anda position of the propelled portion; or via the collected image data).As used in this document, the container position may comprise any point,reference point, or three dimensional coordinates on or for thecontainer, storage portion, or receiving vehicle.

The data manager 109 stores input data or a priori information datainputted by the user via the user interface 44 on the hitch dimensionsand cart dimensions. The container module 20 is adapted to determine thecontainer position by processing one or more of the following inputdata: (a) sensor data indicative of a trailer tongue angle between thepropulsion portion and the storage portion of the receiving vehicle, (b)a heading of the propelled portion, (c) a position (e.g., leadingposition) of the propelled portion; (d) a position (e.g., trailingposition) of the storage portion, and (e) physical vehicle dataassociated with one or more dimensions of the storage portion, such asthe distance between a pivot point of the trailer tongue and wheelbase,and (f) kinematic model data associated with the movement of the storageportion with respect to the propulsion unit. The image processing module18 may use, retrieve or access previously stored data, such asdimensional parameters related to the receiving vehicle, the dimensionalparameters comprising a distance between a trailer hitch and front wheelrotational axis of the storage portion 93. Such dimensional parametersmay be entered via a user interface 44 coupled to the vehicle data bus60 or the image processing module 18, for example.

The container module 120 of FIG. 6C is similar to the container module20 of FIG. 6B, except FIG. 6C further includes a stereo correspondencemodule 103 (e.g., disparity image generator) coupled between an outputof the image rectifier 101 and the input of a container identificationmodule 111. Like reference numbers in FIG. 6B and FIG. 6C indicate likeelements. The container module 120 can be substituted for the containermodule 20 of FIG. 1 through FIG. 3A, inclusive.

The container identification module 111 identifies the containerposition or the container perimeter based on by processing one or moreof the following input data: (a) sensor data indicative of a trailertongue angle between the propulsion portion and the storage portion ofthe receiving vehicle, (b) a heading of the propelled portion, (c) aposition (e.g., leading position) of the propelled portion; (d) aposition (e.g., trailing position) of the storage portion, and (e)physical vehicle data associated with one or more dimensions of thestorage portion, such as the distance between a pivot point of thetrailer tongue and wheelbase, and (f) kinematic model data associatedwith the movement of the storage portion with respect to the propulsionunit. One or more of the following sensors can provide the above inputdata to the container identification module: data manager (e.g.,container setup module) 109, odometrical sensor 440, inertial sensor442, second location-determining receiver 142, or a tongue angle sensor(not shown).

FIG. 7A is a block diagram that shows the image processing module 18 andthe spout module 22 in greater detail than FIG. 1. Like referencenumbers in FIG. 1, FIG. 6, FIG. 7A, FIG. 7B indicate like elements. InFIG. 7A, the image rectification module 101 communicates with the stereocorrespondence module 103 and the spout classifier 121. In turn, thespout classifier 121 provides an output to the spout localizer 125. Thespout localizer 125 accesses or receives the spout position from anglesensor 115 or the spout position estimator 123 (or spout angle (α) withrespect to the transferring vehicle direction of travel or vehiclereference frame), stereo correspondence data from the stereocorrespondence module 103, and the output data from the spout classifier121.

Although the image rectification module 101 is shown as part of thespout module 22, in an alternate embodiment, the image rectificationmodule 101 or image rectifier may be incorporated into the first imagingdevice 10, the second imaging device 12, or both.

Although the stereo correspondence module 103 is illustrated as part ofthe spout module 22, in an alternate embodiment the stereocorrespondence module 103 may comprise a separate module within theimage processing system 18 or a disparity module, for example.

In one embodiment, the spout module 22 comprises a spout classifier 121that is configured to identify candidate pixels in the image data basedat least one of reflectivity, intensity, color or texture features ofthe image data (or pixels), of the rectified image data or raw imagedata, where the candidate pixels represent a portion of the spout 89 orspout end 87.

In one configuration, the spout localizer 125 is adapted to estimate arelative position of the spout 89 to the imaging device based on theclassified, identified candidate pixels of a portion of the spout 89 orother image processing of the image processing module 18. In anotherconfiguration, the spout localizer 125 estimates a relative position ofthe spout 89 or the spout end 87 based on the following: (1)(a) rotationangle data from the rotation sensor (216 or 266), or (1)(b) acombination of a rotation angle or spout angle (α) from the rotationangle (216 or 266) and a tilt angle from a tilt sensor 268, and (2) alength of the spout 89 from the rotational axis about which the spout 89rotates. The spout localizer 125 can estimate a combine spout positionof the spout end 87 or spout angle (α) relative to the mounting locationof the imaging device, or optical axis, or reference axis of one or moreimaging devices, based on previous measurements to provide constraintdata on where the spout 89 can be located possibly.

The spout classifier 121 applies or includes software instructions on analgorithm that identifies candidate pixels that are likely part of thespout 89 or spout end 87 based on expected color and texture featureswithin the processed or raw image data. For example, in oneconfiguration the spout end 87 may be painted, coated, labeled or markedwith a coating or pattern of greater optical or infra-red reflectivity,intensity, or luminance than a remaining portion of the spout 89 or thetransferring vehicle. The greater luminance, intensity or reflectivityof the spout end 87 (or associated spout pixels of the image data versusbackground pixels) may be attained by painting or coating the spout end87 with white, yellow, chrome or a lighter hue or shade with respect tothe remainder of the spout 89 or portions of the transferring vehicle(within the field of view of the imaging devices (10, 12).

In one embodiment, the spout position estimator 123 receives input ofprevious measurements and container reference data and outputs anestimate of the spout position, spout angle, or its associated error.The spout position estimator 123 provides an estimate of the combinespout position, or spout angle, or its error, relative to one or more ofthe following: (1) the mounting location or pivot point of the spout onthe transferring vehicle, or (2) the optical axis or other referenceaxis or point of the first imaging device 10, the second imaging device12, or both, or (3) the axis associated with the forward direction oftravel or the heading of the transferring vehicle. In one embodiment,the spout position estimator 123 is coupled to the spout localizer 125.

In one embodiment, the spout localizer 125 comprises a Kalman filter.The Kalman filter outputs constraints on where the spout 89 or spout end87 can be located, an estimated spout position, or a spout location zoneor estimated spout position zone. The spout localizer 125 takes pixelsthat are classified as belonging to the combine auger spout 89 and usesa disparity image (from stereo correspondence data) to estimate therelative location of the spout to the first imaging device 10, thesecond imaging device 12, or both, or reference axis or coordinatesystem associated with the vehicle.

FIG. 7B illustrates an alternative configuration of the spout module122. Spout module 122 is similar to spout module 22 of FIG. 7A, exceptspout module 22 incorporates some components or blocks that are similarto those in FIG. 6. Like reference numbers indicate like elements inFIG. 1, FIG. 6, FIG. 7A, and FIG. 7B. In FIG. 3A, the spout module 122of FIG. 7B may be in place of the spout module 22, where the system 311is mounted on a receiving vehicle, unless the transferring vehicle has arotation sensor for the spout and transmits the spout rotation angle tothe system 311 for processing.

In FIG. 7B, an optional edge detector 105 and an optional linear Houghtransformer 107 are shown in dashed lines. The optional edge detector105 is coupled to the linear Hough transformer 107. In turn, the linearHough transformer 107 is coupled to the spout localizer 125. The edgedetector 105 and the linear Hough transformer 107 function as describedabove in conjunction with the container module 20 of FIG. 20, exceptthat the processed image data relates to the position or coordinates ofthe spout 89 and the spout end 87, as opposed to the position of thestorage container 93 or its container perimeter 81.

In one embodiment, the edge detector 105, alone or in combination withthe Hough transformer 107, detects an edge of the spout 89, or an edgethe spout end 87. For example, the detection of the edge of a spout 89in image data and its corresponding coordinates (e.g., in threedimensions) may provide an indication of the spout angle or rotationangle of the spout, or the orientation of the spout end 87 with respectto the transferring vehicle, or a reference point thereon. The spoutmodule 122 of FIG. 7B can provide the spout angle, a position of thespout 89, or a position (e.g., three dimensional coordinates) of thespout end 87 without any sensor data from the rotation sensor 216 or therotation sensor 266, although sensor data from any rotation sensor, tiltsensor or deflector sensor associated with the spout may be used torestrict the data for image processing within the collected image datato certain zones or quadrants of interest to more efficiently processthe image data.

FIG. 7C shows a block diagram that shows the logical flow of data for aspout module 222 that uses a spout angle sensor for detecting an angleof the spout with respect to the transferring vehicle for estimating aposition of the spout end relative to the storage portion. In alternateembodiments, the spout module 222 may be substituted for the spoutmodule 22 in FIG. 1 through FIG. 3A, inclusive.

In FIG. 7C, the rotation sensor (116 or 266) is capable of communicatingangle sensor data or a spout rotation angle with a first wirelesscommunications device 48 on the transferring vehicle via a data bus. Thefirst wireless communications device 48 transmits an electromagneticsignal that is modulated with the spout position input data to thesecond wireless communications device 148. The spout position input datacomprises one or more of the following: angle sensor data, spoutrotation angle, known spout length, spout tilt angle, and spoutdeflector status. The spout identification module 221 receives the spoutposition input data from the second wireless communications device 148and rectified image data from the image rectification module 101.

Here in FIG. 7C, the rotation sensor 116 or 266 is arranged to sense arotation angle of the spout on the transferring vehicle. The spoutmodule (e.g., 22) or the system (11, 111, 311 or 411) may estimate aspout position based on the rotation angle and a known length of thespout 89. The known length of the spout may differ by manufacturer andmodel of the transferring vehicle. The known length of the spout can be:entered or selected by a user or operator into a user interface 44,programmed into the system (11, 111, 311 or 411), and/or even triggeredby detection of an radio frequency identifier (RFID) tag on thetransferring vehicle that is read by a RFID reader on the receivingvehicle.

The first wireless communications device 48 on the transferring vehicleis arranged for transmitting spout position input data or sensor dataindicative of the sensed rotation angle of the spout. The secondwireless communications device 148 on the receiving vehicle forreceiving the spout position input data or sensor data indicative of thesensed rotation angle. In one embodiment, spout module (e.g., 22) orspout identification module 221 estimates the spout position based onone or more of the following: (1) spout position input data or thesensor data and (2) a known length of the spout.

The spout module 322 of FIG. 7D is similar to the spout module 222 FIG.7C, except that the spout module 322 of FIG. 7D further includes thestereo correspondence module 103 (e.g., disparity image generator). Likereference numbers in FIG. 7C and FIG. 7D indicate like elements. Inalternate embodiments, the spout module 322 may be substituted for thespout module 222 in FIG. 1 through FIG. 3A, inclusive.

In the embodiment of FIG. 7C, the spout module (e.g., 22) or spoutidentification module 221 estimates the spout position based on one ormore of the following: (1) spout position input data or the sensor data,(2) a known length of the spout, and (3) processing of image data by theimage data processing module 18 or the spout module 22 to supplement orcomplement the spout position that is derived from above items 1 and 2.For example, the image processing module 18 or spout module 22 mayidentify a spout end of the spout by processing a disparity image of thecollected image data during one or more sampling periods. The spoutidentification module 221 may incorporate various detectors or imageprocessors selected from the group consisting of a patternidentification detector, a color discrimination detector, and an edgedetector. If a color or visual pattern is placed on or near the spoutend to facilitate distinguishing spout data from background pixel data,the pattern identification detector, color discrimination detector oredge detector may be programmed or trained in a tailored manner toidentify readily, quickly and efficiently the spout end or spoutposition. The image processing module 18 or the spout module 22 maydetermine the range of the pixels to the first imaging device 10 toestimate coordinates of a spout end 87 or spout position of the spout89.

FIG. 8 is a flow chart of a method for facilitating the transferring orunloading of agricultural material from a vehicle or between atransferring vehicle 91 and a receiving vehicle 79. The method of FIG. 8may begin in step S900 and may use one or more of the followingembodiments of the systems (11, 111, 311, or 411) previously disclosedherein.

In step S900, the transferring vehicle 91 (e.g., harvester or combine)stores agricultural material in a storage portion (e.g., grain bin) ofthe transferring vehicle 91 if the transferring vehicle 91 has a storageportion. For example, the transferring vehicle may store theagricultural material in the storage portion of the transferring vehicle91 as the transferring vehicle 91 moves forward and harvests crop in afield. As the storage portion or storage vessel (e.g., grain tank) ofthe transferring vehicle 91 becomes full or near capacity, the receivingvehicle may move along one side of the moving transferring vehicle 91for unloading of the agricultural material (e.g., consistent with orsimilar to the illustration of FIG. 4A).

In an alternate embodiment, if the transferring vehicle comprises aforage harvester or does not have a storage portion, the method of FIG.8 may begin with step S902 instead of S900.

In step S902, the first imaging device 10 faces toward the storageportion of the receiving vehicle 79 (e.g., grain cart) and collectsimage data (e.g., stereo image data or monocular image data). Forexample, the imaging device 10 may be mounted on the transferringvehicle 91 facing the receiving vehicle 79 and facing the container 85.In one embodiment, the first imaging device 10 has first field of view(77 in FIG. 4A) of the storage portion of the receiving vehicle 79.

In an alternative embodiment, the first imaging device 10 comprises amonocular imaging device that provides a first image section or imagedata of a scene or an object.

In step S906, an image processing module 18 or a container module 20determines a container position or a container perimeter of the storageportion by processing the collected image data, by processing otherinput data (e.g., first location data, second location data, firstmotion data, second motion data), or both. As used in this document, thecontainer position may comprise any point, reference point, or threedimensional coordinates on or for the container, storage portion, orreceiving vehicle. Step S106 may be carried out in accordance withvarious techniques, which may be applied alternately or cumulatively.Under a first technique, the image processing module 18 or containermodule 20 may employ the following processes or sub-steps: (1) measuringa strength of one or more edges 181 in the image data (raw and rectifiedimage data); (2) identifying an angle and offset of candidate linearsegments in the image data with respect to an optical axis, referenceaxis (e.g., direction of travel of the transferring vehicle), orreference point indexed to one or more imaging devices (10, 12); and (3)using spatial and angular constraints to eliminate identified candidatelinear segments that cannot logically or possibly form part of theidentified linear segments of the container perimeter, where thelocalizer 111 transforms the identified linear segments into threedimensional coordinates relative to a reference point or reference frameof the receiving vehicle and/or the harvesting vehicle.

Under a second technique, the image processing module 18 or containermodule 20 may receive container reference data, or measurements ofdimensions of the container perimeter 81 or the storage portion 93 ofthe vehicle, to facilitate identification of candidate linear segments,or candidate data points, that qualify as identified linear segments oredges of the container perimeter 81 in the collected image data during asampling time period.

Under the third technique, the image processing module 18 or containermodule 20 may receive an estimated angle 97 of the storage portion 93relative to the propelling portion 75 of the vehicle to facilitateidentification of candidate linear segments that qualify as identifiedlinear segments or identifiable edges of the container perimeter 81 inthe collected image data during a sampling period.

Under a fourth technique, the image processing module 18 or containermodule 20 provides the received estimated angle 97 of the storageportion 93 relative to the propelling portion 75 of the vehicle.

Under a fifth technique, the image processing module 18 identifies acontainer perimeter 81 of the storage portion 93 in the collected imagedata (e.g., the first image data or image data), where the storageportion 93 has an opening 83 inward from the container perimeter 81 forreceipt of the agricultural material. For example, the image processingmodule 18 or container module 20 identifies a container perimeter 81 ofthe storage portion 93 by identifying one or more edges of the containerperimeter in the collected image data.

Under a sixth technique, the container module 20 or system (11, 111,311, 411) is adapted to determine the container position by processingone or more of the following input data: (a) sensor data indicative of atrailer tongue angle between the propulsion portion and the storageportion of the receiving vehicle, (b) a heading of the propelledportion, (c) a position (e.g., leading position in two or threedimensional coordinates) of the propelled portion; (d) a position (e.g.,trailing position in two or three dimensional coordinates) of thestorage portion, (e) first location data, second location data, or bothfrom the location-determining receivers (42, 142), (f) first motiondata, second motion data, or both from the location-determiningreceivers (42, 142), (g) physical vehicle data associated with one ormore dimensions of the storage portion, such as the distance between apivot point of the trailer tongue and wheelbase, or (h) kinematic modeldata (e.g., vehicle steering model or modified bicycle model) associatedwith the movement of the storage portion with respect to the propulsionunit.

In step S908, the image processing module 18 or a spout module 22identifies a spout 89 (or spout end 87) of the transferring vehicle(e.g., harvesting vehicle) in the collected image data to determine thespout position (e.g., of the spout end 87). The spout position maycomprise any point, reference point, or three dimensional coordinates onor for the spout 89 or the spout end 87. The image processing module 18or the spout module 22 may use various techniques, which may be appliedalternately or cumulatively. Under a first technique, image processingmodule 18 or the spout module 22 identifies a spout end of the spout viaat least one detector selected from the group consisting of a patternidentification detector, a color discrimination detector, and an edgedetector, where a color or visual pattern is placed on or near the spoutend to facilitate distinguishing spout data from background pixel data.

Under a second technique, the image processing module 18 or the spoutmodule 22 identifies candidate pixels in the image data (e.g., rectifiedor raw image data) based on expected color and expected texture featuresof the image data, where the candidate pixels represent a portion of thespout 89 (e.g., combine auger spout) or spout end 87.

Under a third technique, the image processing module 18 or the spoutmodule 22 estimates a relative position, or relative angle, of the spout89 or the spout end 87, to the imaging device based on the classified,identified candidate pixels of a portion of the spout 89. The imageprocessing module 18 or a stereo correspondence module 103 may determinethe range or coordinates (e.g., three dimensional coordinates) toidentified candidate pixels of the first, second or third technique,points on the spout, or a constellation of points on the spout from adisparity image.

Under a fourth technique, the image processing module 18 or the spoutmodule 22 receives an estimated combine spout position, or spout angle,relative to the mounting location, optical axis, reference axis, orreference point of the imaging device (10, 12). For instance, theestimated spout position, or spout angle may be based on previousmeasurements to provide constraint data on where the spout 56 can belocated possibly. Alternately, sensor data from the rotation sensor (116or 266) may be wirelessly transmitted from system 11 or 111 on thetransferring vehicle to the receiving vehicle via the first wirelesscommunications device 48 and the second wireless communications device148.

Under a fifth technique, the image processing module 18 or spout module22 provides the estimated combine spout position, or estimated spoutangle, to the spout localizer 125, where the spout module 22 or thespout localizer 125 determines the range of the pixels to the firstimaging device to estimate coordinates of a spout end of the spout.

Under a sixth technique, the spout module does not use a spout anglesensor for detecting an angle of the spout with respect to thetransferring vehicle for estimating a position of the spout end relativeto the storage portion.

In step S912, the image processing module 18 or the alignment module 24determines the relative position of the spout 89 (e.g., the spout end87) and the container position (or container perimeter 81) to generatecommand data or user interface data for the propelled portion tofacilitate placement of the spout 89 (e.g., the spout end 87) and thestorage portion in cooperative alignment (or target alignment fortransferring of material from the transferring material to the receivingvehicle). Cooperative alignment refers to an alignment of the spout end87 and storage portion that is suitable for efficient or effectivetransferring of material from the transferring vehicle to the receivingvehicle, where the spout 89 (e.g., spout end 87) is aligned with acentral zone 83 or another target zone of storage portion or itscontainer perimeter 81.

Under a first procedure for carrying out step S912, the image processingmodule 18 or the alignment module 24 is adapted to provide command dataor user interface data to align the spout 89, the spout end 87, or thespout position within the container position by controlling a positionof the receiving vehicle or its storage portion. Under a secondprocedure which can be applied cumulatively or separate from the firstprocedure, the image processing module 18 or the alignment module 24 isadapted to provide command data or user interface data to align thespout 89, the spout end 87, or the spout position inside the containerperimeter by controlling a position of the receiving vehicle or itsstorage portion.

In step S914, in a first configuration, the controller (59 or 159) orthe steering controller 32 steers (and/or modulates the relative groundspeed of the vehicles) the receiving vehicle in accordance with thecooperative alignment or the command data. In a second configuration,the vehicle controller or the steering controller 32 may steer thetransferring vehicle in accordance with the cooperative alignment or thecommand data. In a third configuration, the vehicle controller (59 or159) or steering controllers 32 of both the transferring vehicle 91 andthe receiving vehicle 79 steer both vehicles in accordance with thecooperative alignment, or maintenance of a target spatial offsetsuitable for unloading or transfer of the material between the vehicles.In a fourth configuration, the actuator 210 (e.g., a servo-motor,electric motor, linear motor and linear-to-rotational gear assembly, orelectro-hydraulic device) controls the spout angle of the spout 89, orthe spout end 87, with respect to the direct of travel or anotherreference axis of the transferring vehicle in response to alignmentmodule 24 or the image processing module 18 (e.g., smart unloadingcontroller).

FIG. 9 illustrates an embodiment of a method for facilitating thetransfer of agricultural material from a transferring vehicle to areceiving vehicle. Like reference numbers in FIG. 9 and any otherdrawing herein indicate like steps, procedures or elements. The methodof FIG. 9 begins in step S950.

In step S950, an imaging device (10, 12) collects image data and facestowards a storage portion 93 of a receiving vehicle 79, where thestorage portion 93 is capable of storing agricultural material. Forinstance, the collected image data may include scenes or representationsof the storage portion 93, the container perimeter 81, the spout 89, thespout end 87, wheels of the receiving vehicle 79, and contents oragricultural material within an interior of the container 85, amongother things.

In step S952, a first location-determining receiver 42, which isassociated with the transferring vehicle 91, determines first locationdata. The first location-determining receiver 42 may determine headingdata, velocity data and acceleration data for the transferring vehicle91. The first location data is typically determined with reference to anantenna of the first location-determining receiver 42 that is mounted onor associated with the transferring vehicle 91. In an alternateembodiment, the first location-determining receiver 42 determines firstlocation data and first motion data (e.g., velocity, acceleration,heading or yaw angle, tilt angle, roll angle).

In step S954, a second location-determining receiver 142 determinessecond location data. The second location-determining receiver 142 isassociated with the receiving vehicle 79, or its storage portion 93. Thesecond location-determining receiver 142 may determine heading data,velocity data and acceleration data for the receiving vehicle 79. Thesecond location data is typically determined with reference to anantenna of the second location-determining receiver 142 that is mountedon or associated with the transferring vehicle 91. In an alternateembodiment, the second location-determining receiver 142 determinessecond location data and second motion data (e.g., velocity,acceleration, heading or yaw angle, tilt angle, roll angle).

In step S956, a container module 20 or image processing module 18identifies a container position or a container perimeter 81 of thestorage portion 93 in the collected image data. Container position meansa reference point or three dimensional coordinates on or for the storageportion or the receiving vehicle. For example, the container positionmay comprise three dimensional coordinates for a reference point orspatial position that lies on a projected surface area above the storageportion, where the reference point is a target zone for receivingmaterial from the transferring vehicle. Although the reference point canbe defined as a central zone or geometric mean of an opening area at thetop of the storage container, in alternate embodiments the referencepoint can be aligned with any target zone for receiving material fromthe transferring vehicle. The container module 20 operates as discussedin conjunction with FIG. 6, for example.

In step S958, a spout module 22 and the image processing module 18identifies (if possible) a spout or spout position of the transferringvehicle 91 in the collected image data. As used throughout thisdocument, the spout position refers to the position of a spout end orone or more reference points or three dimensional coordinates on or forthe spout of the transferring vehicle. For example, the spout positionmay comprise a reference point (e.g., central point) or spatial positionthat lies on a projected surface area at an opening in the spout end 87.If the opening in the spout end 87 is circular or elliptical, thereference point may be located at the center of the circle or at theintersection of the major and minor perpendicularly oriented axes forthe ellipse, for instance. The spout module 22 operates as discussed inconjunction with FIG. 7, for example.

In step S960, the alignment module 24 or the image processing module 18determines (if possible) the relative position of the spout 89 (or thespout end 87) and the container position (or container perimeter 81).For example, the alignment module 24 or the image processing module 18may determine the relative position by determining the differencebetween the spout position and the container position (e.g., by vectoraddition or subtraction of three dimensional coordinates).

In step S963, the alignment module 24 or the image processing module 18generates command data or user interface data for the receiving vehiclebased on the relative position to facilitate placement of the spout andthe storage container in cooperative alignment or target alignment. Forexample, the command data is transmitted to one or more of thefollowing: steering controller 32, the braking controller 36, and thepropulsion controller 40 of the receiving vehicle to control itsheading, position, velocity or acceleration to facilitate placement ofthe spout and the storage container in cooperative alignment or targetalignment. Alternately, if command data is not transmitted, userinterface data is provided, outputted or displayed to an operator of thereceiving vehicle on its user interface 44 such that the operator canmanually control the steering system 30, the braking system 34, and thepropulsion system 38 to control its heading, position, velocity oracceleration to facilitate placement of the spout and the storagecontainer in cooperative alignment or target alignment.

Cooperative alignment can mean that the spout 89 or spout end 87 isaligned within a target zone or central zone of the container perimeter81 for unloading or transferring material between the vehicles. Forexample, the target zone may be static or mobile during the transfer ofagricultural material from the spout 89 of the transferring vehicle 91into the storage portion 93 of the receiving vehicle 79, where a statictarget zone may be associated with a particular storage portion (93)with a corresponding maximum width, maximum length, or maximum dimensionless than critical threshold and where the mobile target zone may beassociated with a particular storage portion (93) with a maximum width,maximum length or maximum dimension greater than or equal to the targetzone. The maximum width, maximum length, maximum dimension and criticalthreshold are stored as container data in the data storage device 19 ofthe image processing system 18, for example. The image processing module18 or alignment module 24 can process the container data to yieldcommand data to adjust or control the relative spatial offset betweenthe vehicles.

In step S966, a master/slave controller 59 or coordination module 57determines the relative vehicular position or spatial offset between thevehicles (79, 91) based on the first location data and second locationdata of the location-determining receivers (42, 142). Further, themaster/slave controller 59 or coordination module may use first motiondata and second motion data of the location-determining receivers (42,142) to account for time-varying changes in velocity or accelerationthat can impact the relative vehicular position (e.g., in a time seriesor series of sampling intervals of the system 11, 111, 311 or 411). Themaster/slave controller 59 or coordination module 57 may also considerthe relative headings of the vehicles, the path plan of the transferringvehicle 91, and the path plan of the receiving vehicle 79 to establishthe relative vehicular position or spatial offset of the vehicles.

In step S966, the controller (59 or 159) or coordination module 57generates command data to steer the propelled portion and to direct thestorage portion to maintain a target spatial offset between the vehiclesconsistent with the cooperative alignment such that the spout is alignedwithin the target zone.

To execute step S966, the imaging processing module 18 may use firstlocation data of a first location-determining receiver 42 on thetransferring vehicle and second location data of a secondlocation-determining receiver 142 on the receiving vehicle to determineone or more of the following: (1) a relative spatial separation betweenfixed reference points (e.g., antennas of the location-determiningreceivers (42, 142)) on the receiving and transferring vehicles, (2)relative alignment between the spout position and the container position(e.g., container perimeter), (3) spatial separation and angle betweenreference points on the transferring vehicle and receiving vehicle toachieve relative alignment or target spatial offset between the spout 89and the container perimeter 81 to support reliable unloading ortransferring of agricultural material into the container 85 of thereceiving vehicle from the spout.

In step S968, a steering controller 32, alignment module 24, ormaster/slave controller 59 steers the propelled portion 75 of thereceiving vehicle 79 in accordance with the cooperative alignment andthe determined relative vehicular position or spatial offset (e.g., Φ orφ; Δ in FIG. 4) of the vehicles (79, 91).

FIG. 10 is a flow chart of a method for facilitating the unloading ofagricultural material from a vehicle or between a transferring vehicle(91) and a receiving vehicle (79). The method of FIG. 10 may begin instep S900 and may use one or more of the following embodiments of thesystems (11, 111, 311, or 411) previously disclosed herein.

The method of FIG. 10 is similar to the method of FIG. 8, except themethod of FIG. 10 adds steps S916 and S918. Like reference numbers inFIG. 8 and FIG. 10 indicate like elements.

In step S916, the image processing module 18 or the alignment module 24determines the relative position of the spout 89, or the spout end 87,and the container position (or container perimeter 81) and generatescommand data for the actuator 210 of the auger rotation system 16 ofsystem 11 or the rotation actuator 260, tilt actuator 262 and deflectoractuator 264 of system 111 to adjust, steer, turn or direct the spoutangle or spout position the in cooperative alignment such that the spout89 (or spout end 87) is aligned with a central zone or another targetzone of the storage portion or its container perimeter 81.

In one embodiment, the system (11, 111, 311, 411) or alignment module 24first establishes the relative position or alignment between the twovehicles (e.g., the transferring vehicle and the receiving vehicle insteps S912 and S914). Second, in step S916 the system (11, 111, 311, or411) or alignment module 24 uses the spout rotation (of the spout angle)via the auger rotation system 16 to adjust the area or zone that theagricultural material is unloaded into the receiving vehicle. For minoradjustments or filling of a particular area or volume of the storageportion, the alignment module 24 primarily uses the spout rotation (ofthe spout angle) via the auger rotation system 16 to adjust the area orzone of the storage portion that the agricultural material is unloadedinto the receiving vehicle. The use of the spout rotation may be moreefficient than realigning the spatial separation between thetransferring and receiving vehicle (e.g., by steering one or bothvehicles), where the spout end can accomplish the same alignment betweenthe spout end and container perimeter.

In one configuration, the default spout angle or position for the spoutis at approximately 90 degrees to the direction of travel of thetransferring vehicle or a vertical plane that is aligned with the axisof rotation of the spout. For some transferring vehicles, the spoutangle may be limited in its range (e.g., plus or minus 20 degrees fromthe perpendicular angle). For example, if the transferring vehicle is acombine, it may only be permitted to rotate approximately twenty degreesclockwise from perpendicular or within a range from approximatelyseventy degrees to approximately 90 degrees from the direction of travelof the transferring vehicle. The end of the auger traces an arc as itrotates.

In step S918, in a first configuration, the vehicle controller 46 oractuator 216 adjusts, steers, directs or turns the spout angle or spoutposition in accordance with the cooperative alignment. Because oflimitations in the rotation angle of the spout 89, in one embodiment,the alignment module uses both spout angle adjustment and relativeposition adjustment of the vehicles to achieve complete, uniform andevenly distributed loading of the storage portion 93 of the receivingvehicle 79. Accordingly, steps S912 and S914 may be repeated or invokedby steps S916 or S918, Although the relative position adjustment of thevehicles may be minimized fore and aft adjustment, lateral adjustment ofvehicle positions may be necessary to supplement spout angle adjustmentfor long, wide, or large storage portions, containers or receivingvehicles to facilitate uniform or even loading. Therefore, the relativevelocity between the transferring vehicle and receiving vehicle may beadjusted regularly, periodically, or on demand in order to execute afill strategy or uniform filling operation.

The method of FIG. 11 is similar to the method of FIG. 9, except themethod of FIG. 11 further comprises step S970. Like reference numbersindicate like steps or procedures in FIG. 11 and FIG. 9.

Step 970 may be executed after, during or before step S968. In stepS970, the steering controller 32, alignment module 24, or master/slavecontroller 59 steers the propelled portion 75 of the receiving vehicle79 to shift the spatial offset (e.g., Φ or φ, Δ in FIG. 4) between thetransferring and receiving vehicles (79, 91) to promote evendistribution of agricultural material in the storage portion 93. Forexample, the spatial offset is shifted in accordance with a matrix(e.g., multi-dimensional matrix) of preset positions of the spatialoffset, where each point of the matrix is associated with a uniquelateral offset (Δ) and fore/aft offset (Φ or φ) between the vehicles(79, 91). The preset positions (or relative spatial offsets of thevehicles) may be offset from each other by a uniform spatial incrementor an equidistant amount. The matrix may comprise a 2×2 matrix with fourunique relative vehicular positions, a 2×3 matrix with six uniquerelative vehicular positions, or a 3×3 matrix with nine unique relativevehicular positions, or any other suitable size of a matrix for therelative positions of the transferring vehicle and the receivingvehicle.

The method of FIG. 12 is similar to the method of FIG. 9, except themethod of FIG. 12 adds step S971. Like reference numbers indicate likesteps or procedures in FIG. 12 and FIG. 9.

In step S971, an alignment module 24 or controller (59 or 159) adjuststhe relative cooperative alignment on a regular or periodic basis (e.g.,in accordance with a matrix of preset relative vehicular positions) topromote even distribution of agricultural material in the storageportion 93. For example, the material profile module 27 or imageprocessing module 18 may provide a profile or distribution (e.g., heightor a height versus two-dimensional position) of agricultural material(e.g., in two dimensions or three dimensions, such as the illustrativeexemplary distributions of FIG. 5C) within the storage portion 93 andthe alignment module 24 or controller (59, 159) may shift, move, adjust,or sweep relative vehicular position or the spatial offset within aspatial offset range (e.g., with adequate safety clearance about thevehicles to avoid collision) to direct the agricultural material towardempty or less full volumetric portions (e.g., lower height areas ofagricultural material) of the container 85.

The method of FIG. 13 is similar to the method of FIG. 9, except themethod of FIG. 13 further comprises step S971 and S972. Like referencenumbers indicate like steps or procedures in FIG. 9, FIG. 12 and FIG.13.

In step S972, a steering controller 32, alignment module 24, ormaster/slave controller (59 or 159) steers the propelled portion 75 tomaintain a spatial offset (e.g., lateral offset (Δ) and fore/aft offset(Φ or φ)) between the vehicles (79, 91) unless the length, width ordimensions of the storage portion exceeds a respective maximum length,maximum width, or maximum dimension for uniform filling of the storageportion 93 by adjustment of the spout angle within its range. If theobserved length, width or dimensions of the storage portion 93 exceed arespective maximum length, maximum width or maximum dimension stored inthe data storage device 19, a material profile module 27, an imageprocessing module 20, or a distributed fill state sensor 149 monitors aprofile of the agricultural material in the storage portion 93 toprovide profile data for changing, adjusting, or rotating the spoutangle to promote even distribution of the agricultural material in thestorage portion 93 by directing the spout end toward a particular volumeor area of the storage portion 93 that contains less agriculturalmaterial than another volume or area of the storage portion 93.

For the methods of FIG. 8 through FIG. 13, inclusive, a master/slavecontroller 59 of the transferring vehicle 91 can facilitate automaticguidance of the transferring vehicle 91 via an auto-guidance module 55in accordance with a path plan in a lead mode. In one mode, if themaster/slave controller 59 is configured, programmed or operated as amaster/slave controller, then the slave/master/slave/master controller159 is configured, programmed or operated as a slave controller.Conversely, in another mode where the master/slave controller 59 isconfigured, programmed or operated as slave controller, then theslave/master/slave/master controller 159 is configured, programmed oroperated as a master/slave controller. In either case, the master/slavecontroller sends command data wirelessly to the slave controller via thewireless communication devices (48, 148) such that one vehicle(transferring or receiving vehicle) with the master/slave controlleroperates a leader vehicle and the other vehicle with the slavecontroller operates as a follower vehicle.

The master/slave controller 59 or auto-guidance module 55 estimates anerror between the path plan and an actual path and actual heading of thetransferring vehicle 91 as measured by the first location-determiningreceiver 42. Meanwhile, a slave/master/slave/master controller 159 of areceiving vehicle can facilitate tracking of the path plan (e.g.,delayed by a relatively stable temporal offset) by the receiving vehicle79 in a follower mode. The slave/master/slave/master controller 159 orauto-guidance module 155 estimates an error between the path plan and anactual path and actual heading of the receiving vehicle 79 as measuredby the second location-determining receiver 142. The lead vehicletransmits a data message for steering the receiving vehicle 79 inaccordance with the cooperative alignment.

Although the imaging devices (10, 12) are susceptible to transitorysunlight, shading, dust, reflections or other lighting conditions thatcan temporarily disrupt proper operation of the imaging devices in anagricultural environment; the system and methods disclosed in thisdocument are well suited for reducing or eliminating the deleteriouseffects associated with material changes in ambient light conditions.Accordingly, the system and methods disclosed in this document supportaccurate guidance and alignment of the spout and the counter even whereambient light conditions fluctuate.

The method and system is well suited for enhancing the efficiency ofunloading of a transferring vehicle (e.g., combine) to a receivingvehicle (e.g., tractor pulling a grain cart) by facilitating thevelocity or speed matching of the vehicles via position data fromlocation-determining receivers, where fine tuning of the alignment ofthe spout end and the container perimeter is supported by image datafrom one or more imaging devices. In the absence of the method andsystem disclosed herein, the operator of the receiving vehicle tends toset a constant speed that is below the optimal speed for harvesting toavoid spilling agricultural material on the ground and missing thecontainer of the receiving vehicle. Accordingly, the method and systemis well suited for reducing the time to harvest a field and to collectthe grain than otherwise possible.

Having described the preferred embodiment, it will become apparent thatvarious modifications can be made without departing from the scope ofthe invention as defined in the accompanying claims.

The following is claimed:
 1. A system for facilitating the transfer ofagricultural material from a transferring vehicle to a receivingvehicle, the system comprising: a receiving vehicle comprising apropelled portion for propelling the receiving vehicle and a storageportion for storing agricultural material; a spout operably connected toa transferring vehicle for transferring the agricultural material to thereceiving vehicle; an imaging device facing towards the storage portionof the receiving vehicle, the imaging device collecting image data ofthe spout in the image data; a container module for determining acontainer position of a container perimeter of the storage portion,where the container position comprises a reference point or threedimensional coordinates; a spout module for receiving or determining thespout position of the spout; an alignment module for determining therelative position of the spout and the container position based on thecollected image data and for generating command data or user interfacedata with a target spatial offset between the spout and the containerperimeter, the command data or user interface data being for placementof the spout and storage container in relative cooperative alignment fortransferring of material from the transferring vehicle to the receivingvehicle; a rotation sensor for sensing a rotation angle of the spout onthe transferring vehicle; a first wireless communications device on thetransferring vehicle for transmitting sensor data indicative of thesensed rotation angle of the spout; a second wireless communicationsdevice on the receiving vehicle for receiving the sensor data indicativeof the sensed rotation angle; and the spout module estimating the spoutposition based on the sensor data and a known length of the spout. 2.The system according to claim 1 wherein the spout module estimates thespout position based on the sensor data, the known length of the spout,and collected image data.
 3. The system according to claim 1 wherein thecollected image data comprises additional image data, where theadditional image data comprises supplementary or complementary imagedata from an additional perspective or viewpoint of a second imagingdevice; where the first imaging device has a first field of view of thestorage portion of the receiving vehicle, where the first field of viewoverlaps at least partially with a second field of view of the secondimaging device.
 4. The system according to claim 1 further comprising: atongue angle sensor providing sensor data indicative of a trailer tongueangle or hitch angle at a pivot point between the propelled portion andthe storage portion of the receiving vehicle.
 5. The system according toclaim 4 wherein the container module is adapted to determine thecontainer position by processing the sensor data indicative of thetrailer tongue angle or hitch angle, a heading of the propelled portion,and a position of the propelled portion.
 6. The system according toclaim 4 wherein the container module is adapted to determine thecontainer position by processing the sensor data indicative of thetrailer tongue angle or hitch angle, a heading of the propelled portion,and a position of the propelled portion, a position of the storageportion, physical vehicle data associated with one or more dimensions ofthe storage portion, and a kinematic model data associated with themovement of the storage portion with respect to the propelled portion.7. The system according to claim 6 wherein the physical vehicle datacomprises a distance between a pivot point of the trailer tongue and awheelbase of the storage portion.
 8. The system according to claim 1wherein the container module is adapted to determine the containerposition by processing the collected image data.
 9. The system accordingto claim 1 wherein the spout is aligned within a target zone or centralzone of the storage portion inside the container perimeter.
 10. Thesystem according to claim 1 where the estimated spout position, or spoutangle may be based on previous measurements to provide constraint dataon where the spout can be located possibly with reference to the imagedata.
 11. A system for facilitating the transfer of agriculturalmaterial from a transferring vehicle to a receiving vehicle, the systemcomprising: a receiving vehicle comprising a propelled portion forpropelling the receiving vehicle and a storage portion for storingagricultural material; a spout operably connected to a transferringvehicle for transferring the agricultural material to the receivingvehicle; an imaging device facing towards the storage portion of thereceiving vehicle, the imaging device collecting image data of the spoutin the image data; a container module for determining a containerposition of a container perimeter of the storage portion, where thecontainer position comprises a reference point or three dimensionalcoordinates; a spout module for receiving or determining the spoutposition of the spout; an alignment module for determining the relativeposition of the spout and the container position based on the collectedimage data and for generating command data or user interface data with atarget spatial offset between the spout and the container perimeter, thecommand data or user interface data being for placement of the spout andstorage container in relative cooperative alignment for transferring ofmaterial from the transferring vehicle to the receiving vehicle; atongue angle sensor providing sensor data indicative of a trailer tongueangle or hitch angle at a pivot point between the propelled portion andthe storage portion of the receiving vehicle; wherein the containermodule is adapted to determine the container position by processing thesensor data indicative of the trailer tongue angle or hitch angle, andwherein, in conjunction with the trailer tongue angle, an angleestimator provides angular constraints to a container localizer of thecontainer module on the lines, or data points in the image data, thatare potential edges of the container perimeter.
 12. The system accordingto claim 11 wherein the container module is adapted to determine thecontainer position by processing the sensor data indicative of thetrailer tongue angle or hitch angle; and a heading of the propelledportion, a position of the propelled portion, a position of the storageportion, physical vehicle data associated with one or more dimensions ofthe storage portion, and a kinematic model data associated with themovement of the storage portion with respect to the propelled portion.